com.atomikos.icatch.msg
Interface MessageListener

All Known Implementing Classes:
CommitServer, ReceiveListener

public interface MessageListener

A callback interface to allow notification of messages received.


Method Summary
 boolean messageReceived(TransactionMessage msg, Transport transport)
          The callback method, called by the transport when a message is received for this listener.
 

Method Detail

messageReceived

boolean messageReceived(TransactionMessage msg,
                        Transport transport)
The callback method, called by the transport when a message is received for this listener.

Parameters:
msg - The message that was received.
The - transport for the message.
Returns:
boolean False if the listener wants no more messages (and can be removed).


Copyright © 2012. All Rights Reserved.