Package org.teamapps.cluster.core
Interface ConnectionHandler
- All Known Subinterfaces:
RemoteNode
- All Known Implementing Classes:
RemoteNodeImpl
public interface ConnectionHandler
-
Method Summary
Modifier and Type Method Description ClusterInfogetClusterInfo()voidhandleClusterExecutionRequest(java.lang.String serviceName, java.lang.String serviceMethod, org.teamapps.protocol.schema.MessageObject message, long requestId)voidhandleClusterExecutionResult(org.teamapps.protocol.schema.MessageObject message, long requestId)voidhandleClusterInfoUpdate(ClusterInfo clusterInfo)voidhandleConnectionClosed()voidhandleConnectionEstablished(Connection connection, ClusterInfo clusterInfo)voidhandleMessage(org.teamapps.protocol.schema.MessageObject message)
-
Method Details
-
getClusterInfo
ClusterInfo getClusterInfo() -
handleConnectionEstablished
-
handleClusterInfoUpdate
-
handleConnectionClosed
void handleConnectionClosed() -
handleMessage
void handleMessage(org.teamapps.protocol.schema.MessageObject message) -
handleClusterExecutionRequest
void handleClusterExecutionRequest(java.lang.String serviceName, java.lang.String serviceMethod, org.teamapps.protocol.schema.MessageObject message, long requestId) -
handleClusterExecutionResult
void handleClusterExecutionResult(org.teamapps.protocol.schema.MessageObject message, long requestId)
-