com.sun.jini.discovery.internal
Class EndpointBasedServer.ServerConnManagerImpl

java.lang.Object
  extended by com.sun.jini.discovery.internal.EndpointBasedServer.ServerConnManagerImpl
All Implemented Interfaces:
ServerConnManager
Enclosing class:
EndpointBasedServer

private static class EndpointBasedServer.ServerConnManagerImpl
extends Object
implements ServerConnManager

Server connection manager that stores the connection it is given to handle.


Field Summary
private  ServerConnection conn
           
 
Constructor Summary
EndpointBasedServer.ServerConnManagerImpl()
           
 
Method Summary
(package private)  ServerConnection getServerConnection()
           
 void handleConnection(ServerConnection conn, RequestDispatcher disp)
          Enqueues a newly accepted server-side connection for asynchronous processing of inbound requests using the specified request dispatcher, and then returns immediately.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

private ServerConnection conn
Constructor Detail

EndpointBasedServer.ServerConnManagerImpl

EndpointBasedServer.ServerConnManagerImpl()
Method Detail

handleConnection

public void handleConnection(ServerConnection conn,
                             RequestDispatcher disp)
Description copied from interface: ServerConnManager
Enqueues a newly accepted server-side connection for asynchronous processing of inbound requests using the specified request dispatcher, and then returns immediately. This method is equivalent in function to ServerConnectionManager.handleConnection(net.jini.jeri.connection.ServerConnection, net.jini.jeri.RequestDispatcher), except that it is not tied to the Jini ERI runtime; implementations may utilize an alternate set of mechanisms for processing requests.

Specified by:
handleConnection in interface ServerConnManager
Parameters:
conn - the server connection
disp - the request dispatcher

getServerConnection

ServerConnection getServerConnection()


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.