A repeating IO. More...
#include <MamaIo.h>
Public Member Functions | |
| virtual | ~MamaIo (void) |
| MamaIo (void) | |
| virtual void | create (MamaQueue *queue, MamaIoCallback *action, uint32_t descriptor, mamaIoType ioType, void *closure=NULL) |
| Create an IO handler. More... | |
| virtual uint32_t | getDescriptor (void) const |
| virtual void | destroy () |
| virtual void * | getClosure (void) const |
| Return the closure for the IO. More... | |
Public Attributes | |
| MamaIoImpl * | mPimpl |
A repeating IO.
The callback will be repeatedly called at the specified interval until the IO is destroyed. See Mama::createMamaIo ().
The IO relies on the underlying middleware so its resolution is also dependent on the middleware.
|
virtual |
| Wombat::MamaIo::MamaIo | ( | void | ) |
|
virtual |
Create an IO handler.
| queue | The event queue for the io events. NULL specifies the Mama default queue. |
| action | The callback to be invoked when an event occurs. |
| descriptor | Wait for IO on this descriptor. |
| ioType | Wait for occurrences of this type. See mama/io.h |
| closure | The caller supplied closure. |
|
virtual |
|
virtual |
|
virtual |
Return the closure for the IO.
| MamaIoImpl* Wombat::MamaIo::mPimpl |