Re: [libvirt-java] [PATCH 45/65] events: handle registration of domain lifecycle events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 13, 2014 at 04:22:53PM +0100, Claudio Bley wrote:
> Add LifecycleListener interface which needs to be implemented
> when the user wishes to receive lifecycle change events on domains.
> 
> The DomainEvent class represents the kind of event that
> occurred including details on that event.
> 
> Signed-off-by: Claudio Bley <cbley@xxxxxxxxxx>
> ---
>  src/main/java/org/libvirt/Connect.java             |   66 ++++++++++++++++++
>  src/main/java/org/libvirt/Domain.java              |   18 +++++
>  src/main/java/org/libvirt/event/CrashedDetail.java |   15 +++++
>  src/main/java/org/libvirt/event/DefinedDetail.java |   17 +++++
>  src/main/java/org/libvirt/event/DetailInfo.java    |    5 ++
>  src/main/java/org/libvirt/event/DomainEvent.java   |   71 ++++++++++++++++++++
>  .../java/org/libvirt/event/DomainEventDetail.java  |    7 ++
>  .../java/org/libvirt/event/DomainEventType.java    |   60 +++++++++++++++++
>  .../java/org/libvirt/event/LifecycleListener.java  |   24 +++++++
>  .../java/org/libvirt/event/PMSuspendedDetail.java  |   15 +++++
>  src/main/java/org/libvirt/event/ResumedDetail.java |   20 ++++++
>  .../java/org/libvirt/event/ShutdownDetail.java     |   12 ++++
>  src/main/java/org/libvirt/event/StartedDetail.java |   30 +++++++++
>  src/main/java/org/libvirt/event/StoppedDetail.java |   40 +++++++++++
>  .../java/org/libvirt/event/SuspendedDetail.java    |   40 +++++++++++
>  .../java/org/libvirt/event/UndefinedDetail.java    |    7 ++
>  src/main/java/org/libvirt/jna/Libvirt.java         |    7 ++
>  17 files changed, 454 insertions(+)
>  create mode 100644 src/main/java/org/libvirt/event/CrashedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/DefinedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/DetailInfo.java
>  create mode 100644 src/main/java/org/libvirt/event/DomainEvent.java
>  create mode 100644 src/main/java/org/libvirt/event/DomainEventDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/DomainEventType.java
>  create mode 100644 src/main/java/org/libvirt/event/LifecycleListener.java
>  create mode 100644 src/main/java/org/libvirt/event/PMSuspendedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/ResumedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/ShutdownDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/StartedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/StoppedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/SuspendedDetail.java
>  create mode 100644 src/main/java/org/libvirt/event/UndefinedDetail.java

ACK

Regards,
Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]