record
Class WellKnownServices

java.lang.Object
  |
  +--DNSRR
        |
        +--record.WellKnownServices

public class WellKnownServices
extends DNSRR


Field Summary
private  byte[] data
           
private  int[] ipAddress
           
private  int protocol
           
 
Fields inherited from class DNSRR
rrClass, rrCreated, rrName, rrTTL, rrType
 
Constructor Summary
WellKnownServices()
           
 
Method Summary
protected  void decode(DNSInputStream dnsIn)
           
 byte[] getAddress()
           
 byte[] getData()
           
 java.net.InetAddress getInetAddress()
           
 int getProtocol()
           
private  java.lang.String toByteString()
           
 java.lang.String toString()
           
 
Methods inherited from class DNSRR
getRRClass, getRRName, getRRTTL, getRRType, init, isValid
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

ipAddress

private int[] ipAddress

protocol

private int protocol

data

private byte[] data
Constructor Detail

WellKnownServices

public WellKnownServices()
Method Detail

decode

protected void decode(DNSInputStream dnsIn)
               throws java.io.IOException
Overrides:
decode in class DNSRR

getAddress

public byte[] getAddress()

getInetAddress

public java.net.InetAddress getInetAddress()
                                    throws java.net.UnknownHostException

getProtocol

public int getProtocol()

getData

public byte[] getData()

toByteString

private java.lang.String toByteString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object