OpenMAMA
Wombat::MamaInboxCallback Class Referenceabstract

The MamaInboxCallback gets invoked when a message arrives in an inbox or when inbox related errors arise. More...

#include <MamaInboxCallback.h>

Public Member Functions

virtual ~MamaInboxCallback (void)
 
virtual void onDestroy (MamaInbox *inbox, void *closure)
 
virtual void onMsg (MamaInbox *inbox, MamaMsg &msg)=0
 
virtual void onError (MamaInbox *inbox, const MamaStatus &status)=0
 

Detailed Description

The MamaInboxCallback gets invoked when a message arrives in an inbox or when inbox related errors arise.

Constructor & Destructor Documentation

◆ ~MamaInboxCallback()

virtual Wombat::MamaInboxCallback::~MamaInboxCallback ( void  )
virtual
37  {
38  };

Member Function Documentation

◆ onDestroy()

virtual void Wombat::MamaInboxCallback::onDestroy ( MamaInbox inbox,
void *  closure 
)
virtual
This method is invoked when an inbox has been completely destroyed,
the client can have confidence that no further events will be placed 
on the queue for this inbox.

@param[in] inbox The MamaInbox.
Parameters
[in]closureThe closure passed to the create function.
50  {
51  };

◆ onMsg()

virtual void Wombat::MamaInboxCallback::onMsg ( MamaInbox inbox,
MamaMsg msg 
)
pure virtual

◆ onError()

virtual void Wombat::MamaInboxCallback::onError ( MamaInbox inbox,
const MamaStatus status 
)
pure virtual

The documentation for this class was generated from the following file:


© 2012 Linux Foundation