org.apache.http.impl.conn.tsccm
Class BasicPoolEntry

java.lang.Object
  extended by org.apache.http.impl.conn.AbstractPoolEntry
      extended by org.apache.http.impl.conn.tsccm.BasicPoolEntry

public class BasicPoolEntry
extends AbstractPoolEntry

Basic implementation of a connection pool entry.


Field Summary
 
Fields inherited from class org.apache.http.impl.conn.AbstractPoolEntry
connection, plannedRoute, tracker
 
Constructor Summary
BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, java.lang.ref.ReferenceQueue queue)
          Creates a new pool entry.
 
Method Summary
protected  OperatedClientConnection getConnection()
           
protected  ClientConnectionOperator getOperator()
          Obtains the connection operator.
protected  HttpRoute getPlannedRoute()
           
protected  java.lang.ref.WeakReference getWeakRef()
           
 
Methods inherited from class org.apache.http.impl.conn.AbstractPoolEntry
closing, layerProtocol, open, tunnelProxy, tunnelTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPoolEntry

public BasicPoolEntry(ClientConnectionOperator op,
                      HttpRoute route,
                      java.lang.ref.ReferenceQueue queue)
Creates a new pool entry.

Parameters:
op - the connection operator
route - the planned route for the connection
queue - the reference queue for tracking GC of this entry, or null
Method Detail

getOperator

protected ClientConnectionOperator getOperator()
Description copied from class: AbstractPoolEntry
Obtains the connection operator.

Specified by:
getOperator in class AbstractPoolEntry
Returns:
the operator for opening connections and layering protocols

getConnection

protected final OperatedClientConnection getConnection()

getPlannedRoute

protected final HttpRoute getPlannedRoute()

getWeakRef

protected final java.lang.ref.WeakReference getWeakRef()


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.