Displaying 1 result from an estimated 1 matches for "domainpoint".
Did you mean:
domainprint
2011 Apr 06
0
Registering a callback in Java
...e to register a callback to any
domain(domain parameter is null), for a lifecycle event(event id 0).
conn.domainEventRegisterAny(null,
0,
new VirConnectDomainEventGenericCallback() {
public void eventCallback(ConnectionPointer cp,
DomainPointer dp, Pointer pntr) {
System.out.println("event!");
}
});
I can't get the println when I suspend or resume the domains. And the
reason I wrote "0" is that I could not find VIR_DOMAIN_EVENT_ID_LIFECYCLE
constant in java API. Any he...