|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.IIOPAddress
public class IIOPAddress
Constructor Summary | |
---|---|
IIOPAddress(java.lang.String host,
int port)
Creates a new IIOPAddress for host and port . |
Method Summary | |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
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 void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
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)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] toCDR()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |