net.grinder.communication
Class Connector

java.lang.Object
  extended by net.grinder.communication.Connector

public final class Connector
extends Object

Connection factory.

Author:
Philip Aston

Constructor Summary
Connector(String hostString, int port, ConnectionType connectionType)
          Constructor.
 
Method Summary
 boolean equals(Object o)
          
 String getEndpointAsString()
          Return a description of the connection address.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connector

public Connector(String hostString,
                 int port,
                 ConnectionType connectionType)
Constructor.

Parameters:
hostString - TCP address to connect to.
port - TCP port to connect to.
connectionType - Connection type.
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object o)

Overrides:
equals in class Object

getEndpointAsString

public String getEndpointAsString()
Return a description of the connection address.

Returns:
The description.


Copyright © 2000-2013. All Rights Reserved.