com.jscape.inet.dns.record
Class HostInfo
java.lang.Object
com.jscape.inet.dns.record.DnsRecord
com.jscape.inet.dns.record.HostInfo
- All Implemented Interfaces:
- java.io.Serializable
public class HostInfo
- extends DnsRecord
HostInfo records are used to acquire general information about a host. The
main use is for protocols such as FTP that can use special procedures
when talking between machines or operating systems of the same type.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getCPUInfo()
Gets CPU information for host. |
java.lang.String |
getOSInfo()
Gets operating system (OS) information for host. |
java.lang.String |
toString()
Gets String representation of this record. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HostInfo
public HostInfo()
getCPUInfo
public java.lang.String getCPUInfo()
- Gets CPU information for host.
A character-string which specifies the CPU type.
- Returns:
- cpu description
getOSInfo
public java.lang.String getOSInfo()
- Gets operating system (OS) information for host.
A character-string which specifies the operating system type.
- Returns:
- os description
toString
public java.lang.String toString()
- Gets String representation of this record.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved