org.smallmind.cloud.cluster.protocol.socket
Class SocketClusterService
java.lang.Object
org.smallmind.cloud.cluster.protocol.socket.SocketClusterService
- All Implemented Interfaces:
- ClusterService<SocketClusterProtocolDetails>
public class SocketClusterService
- extends Object
- implements ClusterService<SocketClusterProtocolDetails>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketClusterService
public SocketClusterService(ClusterHub clusterHub,
ClusterInstance<SocketClusterProtocolDetails> clusterInstance)
getClusterInstance
public ClusterInstance<SocketClusterProtocolDetails> getClusterInstance()
- Specified by:
getClusterInstance in interface ClusterService<SocketClusterProtocolDetails>
bindClusterMember
public void bindClusterMember(ClusterMember clusterMember)
- Specified by:
bindClusterMember in interface ClusterService<SocketClusterProtocolDetails>
fireServiceBroadcast
public void fireServiceBroadcast(ServiceClusterBroadcast serviceClusterBroadcast)
throws EventMessageException
- Specified by:
fireServiceBroadcast in interface ClusterService<SocketClusterProtocolDetails>
- Throws:
EventMessageException
handleServiceBroadcast
public void handleServiceBroadcast(ServiceClusterBroadcast serviceClusterBroadcast)
- Specified by:
handleServiceBroadcast in interface ClusterService<SocketClusterProtocolDetails>
start
public void start()
- Specified by:
start in interface ClusterService<SocketClusterProtocolDetails>
stop
public void stop()
- Specified by:
stop in interface ClusterService<SocketClusterProtocolDetails>
Copyright © 2011. All Rights Reserved.