|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.kerberos.shared.messages.value.HostAddress
public class HostAddress
Provides host address information.
| Constructor Summary | |
|---|---|
HostAddress(HostAddressType addressType,
byte[] address)
Creates a new instance of HostAddress. |
|
HostAddress(java.net.InetAddress internetAddress)
Creates a new instance of HostAddress. |
|
| Method Summary | |
|---|---|
boolean |
equals(HostAddress that)
Returns whether one HostAddress is equal to another. |
byte[] |
getAddress()
Get the bytes for this address. |
HostAddressType |
getAddressType()
Returns the HostAddressType of this HostAddress. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HostAddress(HostAddressType addressType,
byte[] address)
addressType - address - public HostAddress(java.net.InetAddress internetAddress)
internetAddress - | Method Detail |
|---|
public boolean equals(HostAddress that)
HostAddress is equal to another.
that -
HostAddress's are equal.public byte[] getAddress()
public HostAddressType getAddressType()
HostAddressType of this HostAddress.
HostAddressType.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||