com.caucho.server.port
Class ProtocolDispatchServer

java.lang.Object
  extended by com.caucho.server.dispatch.DispatchServer
      extended by com.caucho.server.port.ProtocolDispatchServer
All Implemented Interfaces:
Dependency
Direct Known Subclasses:
Server

public class ProtocolDispatchServer
extends DispatchServer


Constructor Summary
ProtocolDispatchServer()
           
 
Method Summary
 int getFreeSelectKeepalive()
          Returns the number of available keepalive connections.
 int getKeepaliveMax()
          Returns the configured keepalive max.
 AbstractSelectManager getSelectManager()
          Gets the select manager.
 void initSelectManager(AbstractSelectManager manager)
          Sets the select manager.
 boolean isActive()
          Returns true if the server is active.
 boolean isIgnoreClientDisconnect()
          Gets the ignore-client-disconnect
 boolean isSelectManagerEnabled()
          Returns true if the select manager is enabled.
 void setIgnoreClientDisconnect(boolean ignore)
          Sets the ignore-client-disconnect
 void stop()
          Stops the server.
 
Methods inherited from class com.caucho.server.dispatch.DispatchServer
addServerListener, buildInvocation, buildInvocation, clearCache, createInvocation, createInvocationDecoder, destroy, getAttribute, getAttributeNames, getClassLoader, getDispatchBuilder, getInvocation, getInvocationCacheHitCount, getInvocationCacheMissCount, getInvocationDecoder, getInvocations, getServerId, getURLCharacterEncoding, init, invalidateMatchingInvocations, isDestroyed, isModified, logModified, removeAttribute, restart, setAttribute, setDispatchBuilder, setInvocationCacheMaxURLLength, setInvocationCacheSize, setServerId, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolDispatchServer

public ProtocolDispatchServer()
Method Detail

setIgnoreClientDisconnect

public void setIgnoreClientDisconnect(boolean ignore)
Sets the ignore-client-disconnect


isIgnoreClientDisconnect

public boolean isIgnoreClientDisconnect()
Gets the ignore-client-disconnect

Overrides:
isIgnoreClientDisconnect in class DispatchServer

isSelectManagerEnabled

public boolean isSelectManagerEnabled()
Returns true if the select manager is enabled.


getSelectManager

public AbstractSelectManager getSelectManager()
Gets the select manager.


initSelectManager

public void initSelectManager(AbstractSelectManager manager)
Sets the select manager.


getKeepaliveMax

public int getKeepaliveMax()
Returns the configured keepalive max.


getFreeSelectKeepalive

public int getFreeSelectKeepalive()
Returns the number of available keepalive connections.


isActive

public boolean isActive()
Returns true if the server is active.


stop

public void stop()
Stops the server.