Interface CommunicationListener<T extends Serializable>
- 
- All Superinterfaces:
- EventListener
 
 public interface CommunicationListener<T extends Serializable> extends EventListener Listener SPI notifies IO manager with.CommunicationSpishould ignore very first 4 bytes received from sender node and pass the rest of the message to the listener.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDisconnected(UUID nodeId)Callback invoked when connection with remote node is lost.voidonMessage(UUID nodeId, T msg, IgniteRunnable msgC)NOTE:CommunicationSpishould ignore very first 4 bytes received from sender node and pass the rest of the received message to the listener.
 
- 
- 
- 
Method Detail- 
onMessagevoid onMessage(UUID nodeId, T msg, IgniteRunnable msgC) NOTE:CommunicationSpishould ignore very first 4 bytes received from sender node and pass the rest of the received message to the listener.- Parameters:
- nodeId- Node ID.
- msg- Message.
- msgC- Runnable to call when message processing finished.
 
 - 
onDisconnectedvoid onDisconnected(UUID nodeId) Callback invoked when connection with remote node is lost.- Parameters:
- nodeId- Node ID.
 
 
- 
 
-