com.sun.jini.jeri.internal.connection
Interface ServerConnManager

All Known Implementing Classes:
BasicServerConnManager, EndpointBasedServer.ServerConnManagerImpl

public interface ServerConnManager

Defines interface for internal pluggable counterparts of ServerConnectionManager.

Since:
2.0
Author:
Sun Microsystems, Inc.

Method Summary
 void handleConnection(ServerConnection conn, RequestDispatcher dispatcher)
          Enqueues a newly accepted server-side connection for asynchronous processing of inbound requests using the specified request dispatcher, and then returns immediately.
 

Method Detail

handleConnection

void handleConnection(ServerConnection conn,
                      RequestDispatcher dispatcher)
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.

Parameters:
conn - the server connection
dispatcher - the request dispatcher
Throws:
NullPointerException - if either argument is null


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