Secure iNet Factory

com.jscape.inet.dns.record
Class HostInfo

java.lang.Object
  extended by com.jscape.inet.dns.record.DnsRecord
      extended by 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

Constructor Summary
HostInfo()
           
 
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 com.jscape.inet.dns.record.DnsRecord
getRecordClass, getRecordName, getRecordTTL, getRecordType, init, isValid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostInfo

public HostInfo()
Method Detail

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

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved