Classes Files

Wombat::MamaInboxCallback

More…

#include <MamaInboxCallback.h>

Public Functions

  Name
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

class Wombat::MamaInboxCallback;

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

Public Functions Documentation

function ~MamaInboxCallback

inline virtual ~MamaInboxCallback(
    void 
)

function onDestroy

inline virtual void onDestroy(
    MamaInbox * inbox,
    void * closure
)

Parameters:

  • inbox The MamaInbox.
  • closure The closure passed to the create function.

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.

function onMsg

virtual void onMsg(
    MamaInbox * inbox,
    MamaMsg & msg
) =0

function onError

virtual void onError(
    MamaInbox * inbox,
    const MamaStatus & status
) =0

Updated on 2023-03-31 at 15:29:25 +0100