Package com.wombat.mama
Interface MamaInboxCallback
-
public interface MamaInboxCallback
Callback for point to point messaging.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDestroy(MamaInbox inbox)
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.void
onMsg(MamaInbox inbox, MamaMsg msg)
Method invoked when a message arrives.
-
-
-
Method Detail
-
onMsg
void onMsg(MamaInbox inbox, MamaMsg msg)
Method invoked when a message arrives.- Parameters:
inbox
- The inbox.msg
- The msg.
-
onDestroy
void onDestroy(MamaInbox inbox)
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.- Parameters:
inbox
- The MamaInbox.
-
-