Interface MessageListenerV2
-
public interface MessageListenerV2
Listener interface implemented by resource adaptors to receive asynchronous unidirectional messages from other nodes.
Implementations of this interface are registered with the Message Facility using
MessageFacility.addMessageListener(MessageListenerV2)
.This is a newer version of the listener interface that uses a
java.lang.String
representation for node IDs instead ofint
.- Since:
- Rhino 3.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleMessage(String sourceNode, byte[] payload)
Handles the given asynchronous message.
-
-
-
Method Detail
-
handleMessage
void handleMessage(String sourceNode, byte[] payload)
Handles the given asynchronous message.
- Parameters:
sourceNode
- the node ID of the node which sent the message.payload
- the payload of the message.- Since:
- Rhino 3.2
-
-