com.caucho.cloud.network
Class NetworkServerConfig

java.lang.Object
  extended by com.caucho.cloud.network.NetworkServerConfig

public class NetworkServerConfig
extends java.lang.Object


Method Summary
 void add(ProtocolPort protocolPort)
           
 void addContentProgram(ConfigProgram builder)
           
 void addHttp(TcpSocketLinkListener listener)
           
 void addListen(TcpSocketLinkListener listener)
           
 void addListenDefault(ConfigProgram program)
          Adds a listen-default
 void addPortDefault(ContainerProgram program)
          Adds a port-default
 TcpSocketLinkListener createClusterPort()
           
 TcpSocketLinkListener createHttp()
           
 TcpSocketLinkListener createListen()
           
 TcpSocketLinkListener createProtocol()
           
protected  TcpSocketLinkListener getClusterListener()
           
 boolean isKeepaliveSelectEnable()
           
 void setBindPortsAfterStart(boolean bindAtEnd)
          If true, ports are bound at end.
 void setClusterIdleTime(Period period)
           
 void setClusterSocketTimeout(Period period)
           
 void setKeepaliveSelectEnable(boolean isEnable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createClusterPort

@Configurable
public TcpSocketLinkListener createClusterPort()

getClusterListener

protected TcpSocketLinkListener getClusterListener()

setClusterIdleTime

@Configurable
public void setClusterIdleTime(Period period)

setClusterSocketTimeout

@Configurable
public void setClusterSocketTimeout(Period period)

setKeepaliveSelectEnable

@Configurable
public void setKeepaliveSelectEnable(boolean isEnable)

isKeepaliveSelectEnable

public boolean isKeepaliveSelectEnable()

createHttp

@Configurable
public TcpSocketLinkListener createHttp()
                                 throws ConfigException
Throws:
ConfigException

addHttp

public void addHttp(TcpSocketLinkListener listener)

createProtocol

@Configurable
public TcpSocketLinkListener createProtocol()

createListen

@Configurable
public TcpSocketLinkListener createListen()

addListen

public void addListen(TcpSocketLinkListener listener)

add

@Configurable
public void add(ProtocolPort protocolPort)

addPortDefault

@Configurable
public void addPortDefault(ContainerProgram program)
Adds a port-default


addListenDefault

@Configurable
public void addListenDefault(ConfigProgram program)
Adds a listen-default


setBindPortsAfterStart

@Configurable
public void setBindPortsAfterStart(boolean bindAtEnd)
If true, ports are bound at end.


addContentProgram

@Configurable
public void addContentProgram(ConfigProgram builder)