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

2014-01-23 Thread Claudio Bley
At Thu, 5 Dec 2013 16:26:36 +0800, Howie wrote: > > Hi > > My test environment : > > CentOS 6.3 6.4 > Ubuntu 13.10 > > For CentOS 6.4 > > libvirt-java-0.4.9-1.el6.noarch > libvirt-python-0.10.2-29.el6.x86_64 > libvirt-client-0.10.2-29.el6.x86_64 > libvirt-0.10.2-29.el6.x86_64 > > I am try to

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

2010-07-27 Thread Bruno Costa
Any help on this subject? Thanks, Bruno Costa On Fri, 2010-07-16 at 13:49 +0100, Bruno Costa wrote: > I'm trying to build a trivial example code. Something like this in the > main(): > > > conn = new Connect("qemu:///session", false); > > VirConnectDomainEventGenericCallback cb = new > VirCo

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