Public Member Functions

IEventListener Interface Reference

Event listener. More...

List of all members.

Public Member Functions

void handleEvent (in IEvent event)
 Handle event callback for active listeners.

Detailed Description

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}

Member Function Documentation

void IEventListener::handleEvent ( in IEvent  event  ) 

Handle event callback for active listeners.

It is not called for passive listeners. After calling handleEvent on all active listeners and having received acknowledgement from all passive listeners via IEventSource::eventProcessed, the event is marked as processed and IEvent::waitProcessed will return immediately.

Parameters:
event Event available.