org.apache.geronimo.network.protocol
Class ServerSocketAcceptor

java.lang.Object
  extended byorg.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 $

Constructor Summary
ServerSocketAcceptor()
           
 
Method Summary
 void drain()
           
 ServerSocketAcceptorListener getAcceptorListener()
           
 URI getConnectURI()
           
 SelectorManager getSelectorManager()
           
 ServerSocketChannel getServerSocketChannel()
           
 int getTimeOut()
           
 URI getUri()
           
 boolean isReuseAddress()
           
 boolean isTCPNoDelay()
           
 void selectionEvent(SelectorManager.Event event)
          When the SelectorKey is triggered, the service method will be called on the attachment.
 void setAcceptorListener(ServerSocketAcceptorListener acceptorListener)
           
 void setReuseAddress(boolean reuseAddress)
           
 void setSelectorManager(SelectorManager selectorManager)
           
 void setServerSocketChannel(ServerSocketChannel serverSocketChannel)
           
 void setTCPNoDelay(boolean TCPNoDelay)
           
 void setTimeOut(int timeOut)
           
 void setUri(URI uri)
           
 void startup()
           
 void teardown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSocketAcceptor

public ServerSocketAcceptor()
Method Detail

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.