com.caucho.cloud.network
Class ProNetworkClusterSystem

java.lang.Object
  extended by com.caucho.env.service.AbstractResinSubSystem
      extended by com.caucho.cloud.network.NetworkClusterSystem
          extended by com.caucho.cloud.network.ProNetworkClusterSystem
All Implemented Interfaces:
ResinSubSystem

public class ProNetworkClusterSystem
extends NetworkClusterSystem

NetworkClusterService manages the cluster network code, the communication between Resin servers in a cluster.


Field Summary
 
Fields inherited from class com.caucho.cloud.network.NetworkClusterSystem
START_PRIORITY
 
Fields inherited from interface com.caucho.env.service.ResinSubSystem
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
ProNetworkClusterSystem(CloudServer selfServer)
           
 
Method Summary
 java.lang.String getLocalSocketAddress(ClusterServer clusterServer)
          Returns the local ip address for a server configured with external-address.
 void start()
          Starts the service.
 
Methods inherited from class com.caucho.cloud.network.NetworkClusterSystem
addLinkListener, addServerListener, createAndAddService, getClusterListener, getCurrent, getCurrentSelfServer, getLocalAddresses, getSelfServer, getServerId, getStartPriority, notifyHeartbeatStart, notifyHeartbeatStop, notifyLinkClose, removeServerListener, stop, toString
 
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem
destroy, getStopPriority, preCreate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProNetworkClusterSystem

public ProNetworkClusterSystem(CloudServer selfServer)
Method Detail

start

public void start()
           throws java.lang.Exception
Description copied from interface: ResinSubSystem
Starts the service.

Specified by:
start in interface ResinSubSystem
Overrides:
start in class NetworkClusterSystem
Throws:
java.lang.Exception

getLocalSocketAddress

public java.lang.String getLocalSocketAddress(ClusterServer clusterServer)
Returns the local ip address for a server configured with external-address.

Overrides:
getLocalSocketAddress in class NetworkClusterSystem