org.jppf.management
Class JPPFSystemInformation.HostIP
java.lang.Object
org.jppf.utils.Pair<String,String>
org.jppf.management.JPPFSystemInformation.HostIP
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- JPPFSystemInformation
public static class JPPFSystemInformation.HostIP
- extends Pair<String,String>
Instances of this class represent a hostname / ip address pair.
- See Also:
- Serialized Form
JPPFSystemInformation.HostIP
public JPPFSystemInformation.HostIP(String first,
String second)
- Initialize this HostIP object with the specified host name and IP addresse.
- Parameters:
first - the host name.second - the corresponnding IP address.
hostName
public String hostName()
- Get the host name.
- Returns:
- the name as a string.
ipAddress
public String ipAddress()
- Get the ip address.
- Returns:
- the ip address as a string.
Copyright © 2005-2010 JPPF Team.