org.apache.geronimo.remoting.transport.async
Class BackChannelServer

java.lang.Object
  extended byorg.apache.geronimo.proxy.SimpleComponent
      extended byorg.apache.geronimo.proxy.SimpleContainer
          extended byorg.apache.geronimo.remoting.transport.async.AbstractServer
              extended byorg.apache.geronimo.remoting.transport.async.BackChannelServer
All Implemented Interfaces:
org.apache.geronimo.core.service.Component, org.apache.geronimo.core.service.Container, Serializable, TransportServer

public class BackChannelServer
extends AbstractServer

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:59:20 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.geronimo.remoting.transport.async.AbstractServer
CONNECTION_TIMEOUT
 
Constructor Summary
BackChannelServer()
           
 
Method Summary
 void bind(URI bindURI, Router dispatcher)
          Configures and otatains any resources needed to start accepting client requests.
 URI getClientConnectURI()
          Once the bind() call has been done, this method will return a URI that can be used by a client to connect to the server.
 Router getNextRouter()
           
 
Methods inherited from class org.apache.geronimo.remoting.transport.async.AbstractServer
dispose, getChannelPool, start, stop
 
Methods inherited from class org.apache.geronimo.proxy.SimpleContainer
addComponent, getComponents, removeComponent
 
Methods inherited from class org.apache.geronimo.proxy.SimpleComponent
getContainer, getObjectName, setContainer, setObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.core.service.Component
getContainer, setContainer
 

Constructor Detail

BackChannelServer

public BackChannelServer()
Method Detail

bind

public void bind(URI bindURI,
                 Router dispatcher)
          throws Exception
Description copied from interface: TransportServer
Configures and otatains any resources needed to start accepting client requests. The bindURI argument will configure the interface/port etc. that the server will use to service requests. The sever should pass all requests and datagrams to the dispatcher.

Parameters:
bindURI -
Throws:
Exception
See Also:
org.apache.geronimo.remoting.transport.TransportServer#bind(java.net.URI, org.apache.geronimo.remoting.transport.Router)

getClientConnectURI

public URI getClientConnectURI()
Description copied from interface: TransportServer
Once the bind() call has been done, this method will return a URI that can be used by a client to connect to the server.

Returns:
null if server has not been bound.
See Also:
TransportServer.getClientConnectURI()

getNextRouter

public Router getNextRouter()
Specified by:
getNextRouter in class AbstractServer
See Also:
AbstractServer.getNextRouter()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.