|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.IIOPAddress
Constructor Summary | |
IIOPAddress(java.lang.String host,
int port)
Creates a new IIOPAddress for host and port . |
Method Summary | |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getHostname()
Returns the host part of this IIOPAddress, as a DNS hostname. |
java.lang.String |
getIP()
Returns the host part of this IIOPAddress, as a numeric IP address in dotted decimal form. |
int |
getPort()
Returns the port number of this address, represented as an integer in the range 0..65535. |
int |
hashCode()
|
static IIOPAddress |
read(InputStream in)
|
byte[] |
toCDR()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IIOPAddress(java.lang.String host, int port)
host
and port
.
host
- either a DNS name, or a textual representation of a
numeric IP address (dotted decimal)port
- the port number represented as an integer, in the range
0..65535. As a special convenience, a negative number is
converted by adding 65536 to it; this helps using values that were
previously stored in a Java short
.Method Detail |
public static IIOPAddress read(InputStream in)
public java.lang.String getIP()
public java.lang.String getHostname()
public int getPort()
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
public byte[] toCDR()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |