com.sun.jini.discovery.internal
Class EndpointBasedServer.ServerConnManagerImpl
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conn
private ServerConnection conn
EndpointBasedServer.ServerConnManagerImpl
EndpointBasedServer.ServerConnManagerImpl()
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 connectiondisp
- 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.