com.caucho.server.port
Class ProtocolPort

java.lang.Object
  extended by com.caucho.server.port.Port
      extended by com.caucho.server.port.ProtocolPort
All Implemented Interfaces:
EnvironmentListener, java.lang.Runnable

public class ProtocolPort
extends Port

Represents a protocol connection.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.server.port.Port
Port.SuspendReaper
 
Constructor Summary
ProtocolPort()
           
ProtocolPort(ClusterServer server)
           
 
Method Summary
 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.server.port.Port
accept, allowKeepalive, bind, bind, bindForWatchdog, close, createJsse, createOpenssl, environmentBind, environmentConfigure, environmentStart, environmentStop, getAcceptListenBacklog, getAcceptThreadMax, getAcceptThreadMin, getActiveConnectionCount, getActiveThreadCount, getAddress, getAdmin, getCometIdleCount, getConnectionCount, getConnectionMax, getDuplexCount, getFreeKeepalive, getIdleThreadCount, getKeepaliveConnectionCount, getKeepaliveConnectionTimeMax, getKeepaliveCount, getKeepaliveMax, getKeepaliveSelectMax, getKeepaliveSelectThreadTimeout, getKeepaliveThreadCount, getKeepaliveTimeout, getLifecycleState, getLifetimeClientDisconnectCount, getLifetimeKeepaliveCount, getLifetimeReadBytes, getLifetimeRequestCount, getLifetimeRequestTime, getLifetimeWriteBytes, getPort, getProtocol, getProtocolName, getSelectConnectionCount, getSelectManager, getServer, getServerId, getSocketTimeout, getSSL, getSuspendTimeMax, getTcpNoDelay, getThreadCount, getThrottleConcurrentMax, getVirtualHost, isActive, isClosed, isIgnoreClientDisconnect, isSecure, isSSL, matchesServerId, postBind, run, setAcceptListenBacklog, setAcceptThreadMax, setAcceptThreadMin, setAddress, setConnectionMax, setHost, setId, setJsseSsl, setKeepaliveConnectionTimeMax, setKeepaliveMax, setKeepaliveTimeout, setMaxSpareListen, setMinSpareListen, setParent, setPort, setProtocol, setReadTimeout, setSecure, setServer, setServerId, setServerSocket, setSocketTimeout, setSSL, setSuspendTimeMax, setTcpNoDelay, setThrottleConcurrentMax, setVirtualHost, setWriteTimeout, start, toString, toURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolPort

public ProtocolPort()

ProtocolPort

public ProtocolPort(ClusterServer server)
Method Detail

setType

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

Overrides:
setType in class Port

setClass

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

Overrides:
setClass in class Port

setInit

public void setInit(ContainerProgram init)

init

public void init()
          throws ConfigException
Initializes the port.

Overrides:
init in class Port
Throws:
ConfigException