Package org.libvirt.event
Interface PMSuspendListener
- All Superinterfaces:
EventListener
Interface for receiving PMSuspend events on a domain.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPMSuspend
(Domain domain, PMSuspendReason reason) This method gets called when a domain is suspended.
-
Method Details
-
onPMSuspend
This method gets called when a domain is suspended.- Parameters:
domain
- the domain that was suspendedreason
- the reason why that event happened
-