Package org.libvirt.event
Interface LifecycleListener
-
- All Superinterfaces:
EventListener
public interface LifecycleListener extends EventListener
Interface for receiving events occurring on a domain.- See Also:
- virConnectDomainEventCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
onLifecycleChange(Domain domain, DomainEvent event)
This method gets called when a change in the lifecycle of a domain occurs.
-
-
-
Method Detail
-
onLifecycleChange
int onLifecycleChange(Domain domain, DomainEvent event)
This method gets called when a change in the lifecycle of a domain occurs.- Parameters:
domain
- the domain on which the event occurredevent
- contains information about the type of event that occurred and details about that event- Returns:
- the return value is currently ignored.
-
-