public class ProNetworkClusterSystem extends NetworkClusterSystem
START_PRIORITYSTART_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER, STOP_PRIORITY_CLASSLOADER| Constructor and Description |
|---|
ProNetworkClusterSystem(CloudServer selfServer) |
| Modifier and Type | Method and Description |
|---|---|
static NetworkAddressResult |
findLocalSocketAddress(CloudServer server,
java.lang.String scheme,
java.lang.String address,
int port) |
static NetworkAddressResult |
findLocalSocketAddress(ClusterServer clusterServer) |
NetworkAddressResult |
getLocalSocketAddress(ClusterServer clusterServer)
Returns the local ip address for a server configured with
external-address.
|
void |
start()
Starts the service.
|
addClusterExtensionProtocol, addLinkListener, addServerListener, configServer, createAndAddService, getClusterListener, getCurrent, getCurrentSelfServer, getLocalAddresses, getSelfServer, getServerId, getStartPriority, notifyHeartbeatStart, notifyHeartbeatStop, notifyLinkClose, removeServerListener, stop, toStringdestroy, getStopPriority, isActive, preCreatepublic ProNetworkClusterSystem(CloudServer selfServer)
public void start()
throws java.lang.Exception
ResinSubSystemstart in interface ResinSubSystemstart in class NetworkClusterSystemjava.lang.Exceptionpublic NetworkAddressResult getLocalSocketAddress(ClusterServer clusterServer)
getLocalSocketAddress in class NetworkClusterSystempublic static NetworkAddressResult findLocalSocketAddress(ClusterServer clusterServer)
public static NetworkAddressResult findLocalSocketAddress(CloudServer server, java.lang.String scheme, java.lang.String address, int port)