Note: these are only used internally.
Signed-off-by: Claudio Bley <cbley(a)av-test.de>
---
src/main/java/org/libvirt/Connect.java | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/main/java/org/libvirt/Connect.java
b/src/main/java/org/libvirt/Connect.java
index 0a45ac8..8ba9691 100644
--- a/src/main/java/org/libvirt/Connect.java
+++ b/src/main/java/org/libvirt/Connect.java
@@ -34,6 +34,26 @@ import com.sun.jna.ptr.LongByReference;
public class Connect {
/**
+ * Event IDs.
+ */
+ private interface 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;
+ static final int LAST = 13;
+ }
+
+ /**
* Get the version of a connection.
*
* @see <a
--
1.7.9.5