com.caucho.server.cluster
Class ProtocolPortConfig

java.lang.Object
  extended by com.caucho.network.listen.TcpSocketLinkListener
      extended by com.caucho.server.cluster.ProtocolPortConfig

public class ProtocolPortConfig
extends TcpSocketLinkListener

Represents a protocol connection.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.network.listen.TcpSocketLinkListener
TcpSocketLinkListener.SuspendReaper
 
Constructor Summary
ProtocolPortConfig()
           
 
Method Summary
 void add(Protocol protocol)
           
 void init()
          Initializes the port.
 void setClass(java.lang.Class<?> cl)
          Sets protocol class.
 void setInit(ContainerProgram init)
           
 void setType(java.lang.Class<?> cl)
          Sets protocol class.
 
Methods inherited from class com.caucho.network.listen.TcpSocketLinkListener
addContentProgram, bind, bind, bindForWatchdog, close, createJsse, createOpenssl, disable, enable, findConnectionByThreadId, getAcceptListenBacklog, getAcceptThreadIdleTimeout, getAcceptThreadMax, getAcceptThreadMin, getActiveConnectionCount, getActiveThreadCount, getAddress, getAdmin, getBlockingTimeoutForSelect, getClassLoader, getCometIdleCount, getConnectionCount, getConnectionMax, getDebugId, getDuplexCount, getIdleThreadCount, getKeepaliveConnectionCount, getKeepaliveConnectionTimeMax, getKeepaliveCount, getKeepaliveMax, getKeepaliveSelectMax, getKeepaliveSelectThreadTimeout, getKeepaliveThreadCount, getKeepaliveThreadTimeout, getKeepaliveTimeout, getLifecycleState, getLifetimeClientDisconnectCount, getLifetimeKeepaliveCount, getLifetimeReadBytes, getLifetimeRequestCount, getLifetimeRequestTime, getLifetimeWriteBytes, getLocalPort, getPort, getProtocol, getProtocolName, getRequestTimeout, getSelectConnectionCount, getSelectManager, getServerSocketClassName, getSocketTimeout, getSSL, getStartThreadCount, getSuspendTimeMax, getThreadCount, getThrottleConcurrentMax, getUrl, getVirtualHost, isActive, isAfterBind, isClosed, isEnabled, isJniEnabled, isKeepaliveSelectEnabled, isSecure, isSSL, isTcpKeepalive, isTcpNoDelay, postBind, setAcceptListenBacklog, setAcceptThreadIdleTimeout, setAcceptThreadMax, setAcceptThreadMin, setAddress, setConnectionMax, setEnableJni, setHost, setId, setJsseSsl, setKeepaliveConnectionTimeMax, setKeepaliveConnectionTimeMaxMillis, setKeepaliveMax, setKeepaliveSelectEnable, setKeepaliveSelectEnabled, setKeepaliveSelectMax, setKeepaliveSelectThreadTimeout, setKeepaliveSelectThreadTimeoutMillis, setKeepaliveThreadTimeout, setKeepaliveTimeout, setKeepaliveTimeoutMillis, setPort, setProtocol, setRequestTimeout, setSecure, setServerSocket, setSocketTimeout, setSocketTimeoutMillis, setSSL, setSuspendReaperTimeout, setSuspendTimeMax, setTcpKeepalive, setTcpNoDelay, setThrottleConcurrentMax, setThrottleLimit, setThrottlePeriod, setThrottleSleepTime, setVirtualHost, start, toString, toURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolPortConfig

public ProtocolPortConfig()
Method Detail

setType

public void setType(java.lang.Class<?> cl)
Sets protocol class.


setClass

public void setClass(java.lang.Class<?> cl)
Sets protocol class.


setInit

public void setInit(ContainerProgram init)

add

public void add(Protocol protocol)

init

@PostConstruct
public void init()
          throws ConfigException
Initializes the port.

Overrides:
init in class TcpSocketLinkListener
Throws:
ConfigException