All Packages Class Hierarchy This Package Previous Next Index
Class PREDATOR.ServerSite
java.lang.Object
|
+----PREDATOR.ServerSite
- public class ServerSite
- extends Object
The object describing the location of a
PREDATOR server.
-
ServerSite(InetAddress, int)
- Constructor.
-
ServerSite(String, int)
- Constructor.
-
getHostAddress()
- Gets the host address of this server site.
-
getPortNumber()
- Gets the port number of this server site.
-
toString()
- Creates a string version of this object.
ServerSite
public ServerSite(InetAddress InternetAddress,
int Port)
- Constructor.
- Parameters:
- InternetAddress - The address of the
PREDATOR server
- Port - The port number of the server
ServerSite
public ServerSite(String InternetAddress,
int Port) throws UnknownHostException
- Constructor.
- Parameters:
- InternetAddress - A string form of the address of the
PREDATOR server
- Port - The port number of the server
getHostAddress
public InetAddress getHostAddress()
- Gets the host address of this server site.
- Returns:
- The host address of this server site
getPortNumber
public int getPortNumber()
- Gets the port number of this server site.
- Returns:
- port number of this server site
toString
public String toString()
- Creates a string version of this object.
- Returns:
- A string version of this object
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index