org.apache.geronimo.network.protocol
Class ProtocolFactory
java.lang.Object
org.apache.geronimo.network.protocol.ProtocolFactory
- All Implemented Interfaces:
- ServerSocketAcceptorListener
- public class ProtocolFactory
- extends Object
- implements ServerSocketAcceptorListener
- Version:
- $Revision: 1.8 $ $Date: 2004/08/01 03:52:20 $
Nested Class Summary |
static interface |
ProtocolFactory.AcceptedCallBack
When the AcceptableProtocol template is cloned and just before to be
set-up with the SocketChannel being accepted, the following call-back
is performed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolFactory
public ProtocolFactory()
getAcceptedCallBack
public ProtocolFactory.AcceptedCallBack getAcceptedCallBack()
setAcceptedCallBack
public void setAcceptedCallBack(ProtocolFactory.AcceptedCallBack aCallBack)
getTemplate
public AcceptableProtocol getTemplate()
setTemplate
public void setTemplate(AcceptableProtocol template)
getClockPool
public org.apache.geronimo.pool.ClockPool getClockPool()
setClockPool
public void setClockPool(org.apache.geronimo.pool.ClockPool clockPool)
getReclaimPeriod
public long getReclaimPeriod()
setReclaimPeriod
public void setReclaimPeriod(long reclaimPeriod)
getMaxAge
public long getMaxAge()
setMaxAge
public void setMaxAge(long maxAge)
getMaxInactivity
public long getMaxInactivity()
setMaxInactivity
public void setMaxInactivity(long maxInactivity)
accept
public void accept(SocketChannel socketChannel)
- Specified by:
accept
in interface ServerSocketAcceptorListener
startup
public void startup()
throws Exception
- Throws:
Exception
drain
public void drain()
throws Exception
- Throws:
Exception
teardown
public void teardown()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.