Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IEventSource::initialize ( p6IEventQ pIfQueue,
p6IEventQHooks pHooks,
p6IIoBufferFactory pFactory,
P6IOSOURCEFLAG  fFlags 
)
pure virtual

This method is called by p6IEventQ to initialize the event source for operation.

This method must be called before calling any other method.

Parameters
pIfQueue[ in ] A pointer to the p6IEventQ's interface. IMPORTANT: This interface pointer MUST be treated as a week reference and not addref()'d when it is stored by the event source. Otherwise a circular reference will be created and the event queue will never be freed. The scope of the p6IEventQ interface pointer is guaranteed to be greater than that of the event source.
pHooks?????????
pFactory[ in ] A pointer to a p6IIoBufferFactory interface that the IoSource can use to allocate Io Buffers from.
fFlags[ in ] Control flags.
Returns