org.virtualbox_4_1
Class IEventListener

java.lang.Object
  extended by org.virtualbox_4_1.IUnknown
      extended by org.virtualbox_4_1.IEventListener

public class IEventListener
extends IUnknown

Event listener. An event listener can work in either active or passive mode, depending on the way it was registered. See IEvent for an introduction to VirtualBox event handling. Interface ID: {67099191-32E7-4F6C-85EE-422304C71B90}


Field Summary
 
Fields inherited from class org.virtualbox_4_1.IUnknown
obj, port
 
Constructor Summary
IEventListener(java.lang.String wrapped, org.virtualbox_4_1.jaxws.VboxPortType port)
           
 
Method Summary
 void handleEvent(IEvent event)
          Handle event callback for active listeners.
static IEventListener queryInterface(IUnknown obj)
           
 
Methods inherited from class org.virtualbox_4_1.IUnknown
getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEventListener

public IEventListener(java.lang.String wrapped,
                      org.virtualbox_4_1.jaxws.VboxPortType port)
Method Detail

queryInterface

public static IEventListener queryInterface(IUnknown obj)

handleEvent

public void handleEvent(IEvent event)
Handle event callback for active listeners. It is not called for passive listeners. After calling handleEvent(org.virtualbox_4_1.IEvent) on all active listeners and having received acknowledgement from all passive listeners via IEventSource.eventProcessed(org.virtualbox_4_1.IEventListener,org.virtualbox_4_1.IEvent), the event is marked as processed and IEvent.waitProcessed(Integer) will return immediately.

Parameters:
event - Event available.