org.apache.geronimo.network.protocol
Class ServerSocketAcceptor
java.lang.Object
org.apache.geronimo.network.protocol.ServerSocketAcceptor
- All Implemented Interfaces:
- SelectionEventListner
- public class ServerSocketAcceptor
- extends Object
- implements SelectionEventListner
- Version:
- $Revision: 1.8 $ $Date: 2004/05/04 03:05:36 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerSocketAcceptor
public ServerSocketAcceptor()
getUri
public URI getUri()
setUri
public void setUri(URI uri)
getConnectURI
public URI getConnectURI()
getServerSocketChannel
public ServerSocketChannel getServerSocketChannel()
setServerSocketChannel
public void setServerSocketChannel(ServerSocketChannel serverSocketChannel)
getTimeOut
public int getTimeOut()
setTimeOut
public void setTimeOut(int timeOut)
isTCPNoDelay
public boolean isTCPNoDelay()
setTCPNoDelay
public void setTCPNoDelay(boolean TCPNoDelay)
isReuseAddress
public boolean isReuseAddress()
setReuseAddress
public void setReuseAddress(boolean reuseAddress)
getAcceptorListener
public ServerSocketAcceptorListener getAcceptorListener()
setAcceptorListener
public void setAcceptorListener(ServerSocketAcceptorListener acceptorListener)
getSelectorManager
public SelectorManager getSelectorManager()
setSelectorManager
public void setSelectorManager(SelectorManager selectorManager)
startup
public void startup()
throws Exception
- Throws:
Exception
drain
public void drain()
throws Exception
- Throws:
Exception
teardown
public void teardown()
selectionEvent
public void selectionEvent(SelectorManager.Event event)
- Description copied from interface:
SelectionEventListner
- When the SelectorKey is triggered, the service method will
be called on the attachment.
- Specified by:
selectionEvent
in interface SelectionEventListner
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.