Provides client-side connection management using the
Jini extensible remote invocation (Jini ERI) multiplexing protocol to frame and multiplex requests and responses over connections.
A ConnectionManager is created by a connection-based {@link Endpoint} implemention to manageconnections to a particular {@link ConnectionEndpoint}. The {@link #newRequest newRequest} method is used to send a request to theconnection endpoint.
Each request attempt is mapped to a new session of the Jini ERI multiplexing protocol on an established connection chosen by the ConnectionEndpoint. Request data is written as the data sent for the session, and response data is read as the data recdeived for the session.
@author Sun Microsystems, Inc.
@since 2.0
@com.sun.jini.impl This implementation uses the {@link Logger} namednet.jini.jeri.connection.ConnectionManager to log information at the following levels:
| Level | Description |
| {@link Level#FINEST FINEST} | connection opened orreused |
This implementation uses the {@link Logger} namednet.jini.jeri.connection.mux to log information at the following levels:
| Level | Description |
| {@link Level#WARNING WARNING} | unexpected exceptionduring asynchronous I/O processing, or thread creation failure |
| {@link Levels#HANDLED HANDLED} | I/O exception duringasynchronous I/O processing |
| {@link Level#FINEST FINEST} | detailed implementationactivity |
This implementation recognizes the following system properties:
com.sun.jini.jeri.connectionTimeout - Time in milliseconds to leave idle client-side connections around before closing them. The default value is 15000 milliseconds (15 seconds).