org.sourceforge.jemmrpc.shared
Interface MessageReceiver


public interface MessageReceiver

Generalised message receive interface.

Author:
Rory Graves

Method Summary
 void connectionTerminated()
          Notification that the connection has terminated.
 void receiveMessage(MessageWrapper msgWrapper)
          Handle the receive of a message contained in a wapper.
 

Method Detail

connectionTerminated

void connectionTerminated()
Notification that the connection has terminated.


receiveMessage

void receiveMessage(MessageWrapper msgWrapper)
Handle the receive of a message contained in a wapper.

Parameters:
msgWrapper - The wrapper containing the message.


Copyright © 2008. All Rights Reserved.