public interface CommunicationListener<T extends Serializable> extends EventListener
CommunicationSpi
should ignore very first 4 bytes received from
sender node and pass the rest of the message to the listener.
Modifier and Type | Method and Description |
---|---|
void |
onDisconnected(UUID nodeId)
Callback invoked when connection with remote node is lost.
|
void |
onMessage(UUID nodeId,
T msg,
IgniteRunnable msgC)
NOTE:
CommunicationSpi should ignore very first 4 bytes received from
sender node and pass the rest of the received message to the listener. |
void onMessage(UUID nodeId, T msg, IgniteRunnable msgC)
CommunicationSpi
should ignore very first 4 bytes received from
sender node and pass the rest of the received message to the listener.nodeId
- Node ID.msg
- Message.msgC
- Runnable to call when message processing finished.void onDisconnected(UUID nodeId)
nodeId
- Node ID.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025