Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IEventQFactory::createIOQ ( const P6WCHAR pwszName,
P6EVENTQFLAG  fEQFlags,
P6UINT32  cBufferSize,
P6UINT32  cInitial,
P6UINT32  cGrowby,
P6IOBFFLAGS  fIOBFlags,
p6IEventQ **  ppQueue 
)
pure virtual

Creates an p6IEventQ and p6IIoBufferFactory, initializing them both and returning the p6IEventQ ready to use.

The interface has been initialize, but nat started. Before you can start using it, you will need to call p6IEventQ::start(). If needed the p6IIoBufferFactory interface can be retrieved using the p6IEventQ::getBufferFactory() method.

Parameters
pwszName[in] A name to associate with the p6IEventQ and IoBufferFactory
fEQFlags[in] The flags to use to initialize the event queue with.
cBufferSize[in] The I/O buffer size in bytes to use
cInitial[in] The number of I/O buffers to initially allocate.
cGrowby[in] The number of I/O buffer to grow the buffer pool by if we run out.
fIOBFlags[in] The flags to use to initialize the I/O buffer factory with.
ppQueue[out] Address of pointer variable that receives the newly created p6IEventQ interface. On success, *ppQueue contains the new interface pointer, on failure *ppQueue is NULL.
Returns