VirtualBox Main API
Public Member Functions | List of all members
IEventListener Interface Reference

Event listener. More...

Inheritance diagram for IEventListener:

Public Member Functions

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

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:

Member Function Documentation

◆ handleEvent()

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.

eventEvent available.