ca.mcgill.cs.postina
Interface PostinaMsgListener
- All Known Implementing Classes:
- ScribeNetworkLayer
public interface PostinaMsgListener
The listener interface all applications listening to incoming messages have
to implement.
- Version:
- Oct 22, 2007
- Author:
- Dominik Zindel
receiveMessage
void receiveMessage(PostinaMessage msg)
- receiveMessage is called to inform applications about a new
PostinaMessage
. The same method is used for private (i.e.
direct) messages as well as publications.
- Parameters:
msg
- The PostinaMessage
that has just arrived and
has to be passed to the application.