Package org.libvirt.event
Interface PMSuspendListener
-
- All Superinterfaces:
EventListener
public interface PMSuspendListener extends EventListener
Interface for receiving PMSuspend events on a domain.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPMSuspend(Domain domain, PMSuspendReason reason)
This method gets called when a domain is suspended.
-
-
-
Method Detail
-
onPMSuspend
void onPMSuspend(Domain domain, PMSuspendReason reason)
This method gets called when a domain is suspended.- Parameters:
domain
- the domain that was suspendedreason
- the reason why that event happened
-
-