Note: these are only used internally.
Signed-off-by: Claudio Bley <cbley(a)av-test.de>
---
src/main/java/org/libvirt/Connect.java | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/main/java/org/libvirt/Connect.java
b/src/main/java/org/libvirt/Connect.java
index c8ae1ec..aea5e31 100644
--- a/src/main/java/org/libvirt/Connect.java
+++ b/src/main/java/org/libvirt/Connect.java
@@ -31,6 +31,25 @@ import com.sun.jna.ptr.LongByReference;
public class Connect {
/**
+ * Event IDs.
+ */
+ protected static final class DomainEventID {
+ static final int LIFECYCLE = 0;
+ static final int REBOOT = 1;
+ static final int RTC_CHANGE = 2;
+ static final int WATCHDOG = 3;
+ static final int IO_ERROR = 4;
+ static final int GRAPHICS = 5;
+ static final int IO_ERROR_REASON = 6;
+ static final int CONTROL_ERROR = 7;
+ static final int BLOCK_JOB = 8;
+ static final int DISK_CHANGE = 9;
+ static final int TRAY_CHANGE = 10;
+ static final int PMWAKEUP = 11;
+ static final int PMSUSPEND = 12;
+ }
+
+ /**
* Get the version of a connection.
*
* @see <a
--
1.7.9.5