Interface IBufferQueueModuleFactory
interface IBufferQueueModuleFactory
Extends com.amazon.apmf.IStandard
This is Factory interface for BufferQueue module
Methods
createBufferQueue()
Factory method for creating an empty bufferqueue.IBufferQueue*createBufferQueue(outcom.amazon.apmf.Uuid*writerPassword)
Parameters
writerPassword (out)
com.amazon.apmf.Uuid* — Required
for attaching to the bufferQueue as writer.
Returns
IBufferQueue*
IBufferQueue
getBufferQueueFromUuid()
Factory method for getting IBufferQueue object from Uuid. This method must be used by queue subscribers to get IBufferQueue object which they can use to attach as writers OR readers of the queue. Note: Subscribers of the queue should get Uuid of the queue from queue creators. Throws an exception if there is no queue associated with the passed UuidIBufferQueue*getBufferQueueFromUuid(com.amazon.apmf.Uuidid)
Parameters
id
com.amazon.apmf.Uuid — Required
pass the Uuid to get its corresponding IBufferQueue
Returns
IBufferQueue*
IBufferQueue object associated with the passed Uuid

