com.sun.xml.ws.transport.tcp.server.tomcat
Class WSTCPTomcatProtocolHandlerBase

java.lang.Object
  extended by com.sun.xml.ws.transport.tcp.server.tomcat.WSTCPTomcatProtocolHandlerBase
All Implemented Interfaces:
java.lang.Runnable, org.apache.coyote.ProtocolHandler
Direct Known Subclasses:
WSTCPGrizzly10ProtocolHandler

public abstract class WSTCPTomcatProtocolHandlerBase
extends java.lang.Object
implements org.apache.coyote.ProtocolHandler, java.lang.Runnable

SOAP/TCP implementation of Tomcat ProtocolHandler, based on Grizzly 1.0


Field Summary
protected  int maxWorkerThreadsCount
           
protected  int minWorkerThreadsCount
           
protected  int port
           
protected  int readThreadsCount
           
protected  int redirectHttpPort
           
 
Constructor Summary
WSTCPTomcatProtocolHandlerBase()
           
 
Method Summary
 org.apache.coyote.Adapter getAdapter()
           
 java.lang.Object getAttribute(java.lang.String string)
           
 java.util.Iterator getAttributeNames()
           
 int getMaxWorkerThreadsCount()
           
 int getMinWorkerThreadsCount()
           
 int getPort()
           
 int getReadThreadsCount()
           
 int getRedirectHttpPort()
           
 void init()
           
 void pause()
           
 void resume()
           
 void setAdapter(org.apache.coyote.Adapter adapter)
           
 void setAttribute(java.lang.String string, java.lang.Object object)
           
 void setMaxWorkerThreadsCount(int maxWorkerThreadsCount)
           
 void setMinWorkerThreadsCount(int minWorkerThreadsCount)
           
 void setPort(int port)
           
 void setReadThreadsCount(int readThreadsCount)
           
 void setRedirectHttpPort(int redirectHttpPort)
           
 void start()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.coyote.ProtocolHandler
destroy
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

port

protected int port

redirectHttpPort

protected int redirectHttpPort

readThreadsCount

protected int readThreadsCount

maxWorkerThreadsCount

protected int maxWorkerThreadsCount

minWorkerThreadsCount

protected int minWorkerThreadsCount
Constructor Detail

WSTCPTomcatProtocolHandlerBase

public WSTCPTomcatProtocolHandlerBase()
Method Detail

setAttribute

public void setAttribute(java.lang.String string,
                         java.lang.Object object)
Specified by:
setAttribute in interface org.apache.coyote.ProtocolHandler

getAttribute

public java.lang.Object getAttribute(java.lang.String string)
Specified by:
getAttribute in interface org.apache.coyote.ProtocolHandler

getAttributeNames

public java.util.Iterator getAttributeNames()
Specified by:
getAttributeNames in interface org.apache.coyote.ProtocolHandler

setAdapter

public void setAdapter(org.apache.coyote.Adapter adapter)
Specified by:
setAdapter in interface org.apache.coyote.ProtocolHandler

getAdapter

public org.apache.coyote.Adapter getAdapter()
Specified by:
getAdapter in interface org.apache.coyote.ProtocolHandler

init

public void init()
          throws java.lang.Exception
Specified by:
init in interface org.apache.coyote.ProtocolHandler
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.apache.coyote.ProtocolHandler
Throws:
java.lang.Exception

resume

public void resume()
            throws java.lang.Exception
Specified by:
resume in interface org.apache.coyote.ProtocolHandler
Throws:
java.lang.Exception

pause

public void pause()
           throws java.lang.Exception
Specified by:
pause in interface org.apache.coyote.ProtocolHandler
Throws:
java.lang.Exception

setPort

public void setPort(int port)

getPort

public int getPort()

setReadThreadsCount

public void setReadThreadsCount(int readThreadsCount)

getReadThreadsCount

public int getReadThreadsCount()

setMaxWorkerThreadsCount

public void setMaxWorkerThreadsCount(int maxWorkerThreadsCount)

getMaxWorkerThreadsCount

public int getMaxWorkerThreadsCount()

setMinWorkerThreadsCount

public void setMinWorkerThreadsCount(int minWorkerThreadsCount)

getMinWorkerThreadsCount

public int getMinWorkerThreadsCount()

setRedirectHttpPort

public void setRedirectHttpPort(int redirectHttpPort)

getRedirectHttpPort

public int getRedirectHttpPort()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object