anon.infoservice
Class HTTPConnectionDescriptor

java.lang.Object
  extended by anon.infoservice.HTTPConnectionDescriptor

public class HTTPConnectionDescriptor
extends java.lang.Object

Stores the information about an HTTP connection.


Field Summary
private  HTTPClient.HTTPConnection connection
          Stores the HTTP connection.
private  ListenerInterface targetInterface
          Stores the target interface.
 
Constructor Summary
HTTPConnectionDescriptor(HTTPClient.HTTPConnection connection, ListenerInterface targetInterface)
          Creates a new HTTPConnectionDescriptor.
 
Method Summary
 HTTPClient.HTTPConnection getConnection()
          Returns the HTTPConnection instance.
 ListenerInterface getTargetInterface()
          Returns the ListenerInterface of the connection target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

private HTTPClient.HTTPConnection connection
Stores the HTTP connection.


targetInterface

private ListenerInterface targetInterface
Stores the target interface.

Constructor Detail

HTTPConnectionDescriptor

public HTTPConnectionDescriptor(HTTPClient.HTTPConnection connection,
                                ListenerInterface targetInterface)
Creates a new HTTPConnectionDescriptor.

Parameters:
connection - The HTTP connection.
targetInterface - The ListenerInterface of the connection target.
Method Detail

getConnection

public HTTPClient.HTTPConnection getConnection()
Returns the HTTPConnection instance.

Returns:
The HTTPConnection instance.

getTargetInterface

public ListenerInterface getTargetInterface()
Returns the ListenerInterface of the connection target.

Returns:
The ListenerInterface of the connection target.