Package edu.isi.pegasus.planner.refiner
Class Authenticate.HostPort
- java.lang.Object
-
- edu.isi.pegasus.planner.refiner.Authenticate.HostPort
-
- Enclosing class:
- Authenticate
class Authenticate.HostPort extends java.lang.Object
A convenience inner class that stores the host and the port associated with a server.
-
-
Constructor Summary
Constructors Constructor Description HostPort(java.lang.String host, int port)
The overloaded constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHost()
Returns the host associated with this object.int
getPort()
Returns the port associated with this object.java.lang.String
toString()
Returns the string version of this object.
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
Returns the host associated with this object.- Returns:
- String
-
getPort
public int getPort()
Returns the port associated with this object.- Returns:
- int
-
toString
public java.lang.String toString()
Returns the string version of this object.- Overrides:
toString
in classjava.lang.Object
-
-