Re: [libvirt-users] Using Java bindings to event callback

2010-07-16 Thread Bruno Costa
I'm trying to build a trivial example code. Something like this in the main(): conn = new Connect("qemu:///session", false); VirConnectDomainEventGenericCallback cb = new VirConnectDomainEventGenericCallback() { public void eventCallback(ConnectionPointer arg0, DomainPointer(arg1, Pointer arg2)

Re: [libvirt-users] Using Java bindings to event callback

2010-07-16 Thread Bryan Kearney
On 07/16/2010 05:58 AM, Bruno Costa wrote: I'm having some trouble using java bindings for domain events. Can anyone provide me an example on how to use this, namely conn.domainEventRegisterAny? This is pretty new code, so there may not be many examples. What issues are you seeing, maybe we ca

[libvirt-users] Using Java bindings to event callback

2010-07-16 Thread Bruno Costa
I'm having some trouble using java bindings for domain events. Can anyone provide me an example on how to use this, namely conn.domainEventRegisterAny? Any suggestions? Thanks, Bruno Costa ___ libvirt-users mailing list libvirt-users@redhat.com https: