Home | History | Annotate | Download | only in conn

Lines Matching defs:connection

47  * A pool entry for use by connection manager implementations.
50 * The adapter is handed out to applications that obtain a connection.
51 * The pool entry stores the underlying connection and tracks the
58 * underlying connection and the established route.
76 /** The connection operator. */
79 /** The underlying connection being pooled or used. */
80 protected final OperatedClientConnection connection;
83 //@@@ currently accessed from connection manager(s) as attribute
88 /** Connection state object */
98 * @param connOperator the Connection Operator for this entry
99 * @param route the planned route for the connection,
106 throw new IllegalArgumentException("Connection operator may not be null");
109 this.connection = connOperator.createConnection();
133 * Opens the underlying connection.
135 * @param route the route along which to open the connection
136 * @param context the context for opening the connection
137 * @param params the parameters for opening the connection
155 throw new IllegalStateException("Connection already open.");
162 // opening of the connection will be tracked.
170 (this.connection,
184 localTracker.connectTarget(this.connection.isSecure());
186 localTracker.connectProxy(proxy, this.connection.isSecure());
193 * Tracks tunnelling of the connection to the target.
199 * @param params the parameters for tunnelling the connection
213 throw new IllegalStateException("Connection not open.");
217 ("Connection is already tunnelled.");
222 this.connection.update(null, tracker.getTargetHost(),
230 * Tracks tunnelling of the connection to a chained proxy.
240 * @param params the parameters for tunnelling the connection
258 throw new IllegalStateException("Connection not open.");
263 this.connection.update(null, next, secure, params);
287 throw new IllegalStateException("Connection not open.");
303 // layering on top of the connection will be tracked.
307 connOperator.updateSecureConnection(this.connection, target,
310 this.tracker.layerProtocol(this.connection.isSecure());