|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.orb.etf.ProtocolAddressBase
org.jacorb.orb.iiop.IIOPAddress
Field Summary |
---|
Fields inherited from class org.jacorb.orb.etf.ProtocolAddressBase |
---|
configuration, next, stringified |
Constructor Summary | |
---|---|
IIOPAddress()
Creates a new IIOPAddress that will be initialized later by a string |
|
IIOPAddress(java.lang.String hoststr,
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)
|
boolean |
fromString(java.lang.String s)
|
java.net.InetAddress |
getConfiguredHost()
Returns the host as supplied to the constructor. |
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. |
java.lang.String |
getOriginalHost()
Method for use by the PrintIOR utility. |
int |
getPort()
Returns the port number of this address, represented as an integer in the range 0..65535. |
int |
hashCode()
|
static IIOPAddress |
read(CDRInputStream cdr)
|
static IIOPAddress |
read(InputStream in)
|
void |
setHostname(java.lang.String hn)
Used by the ORB to configure just the hostname portion of a proxy IOR address |
void |
setPort(int p)
|
java.lang.String |
toString()
|
void |
write(CDROutputStream cdr)
|
Methods inherited from class org.jacorb.orb.etf.ProtocolAddressBase |
---|
copy, get_next, toCDR |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IIOPAddress(java.lang.String hoststr, int port)
host
and port
.
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
.public IIOPAddress()
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
configure
in class ProtocolAddressBase
org.apache.avalon.framework.configuration.ConfigurationException
public static IIOPAddress read(InputStream in)
public java.lang.String getIP()
public java.lang.String getHostname()
public void setHostname(java.lang.String hn)
public java.net.InetAddress getConfiguredHost()
public int getPort()
public void setPort(int p)
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
toString
in class ProtocolAddressBase
public boolean fromString(java.lang.String s)
fromString
in class ProtocolAddressBase
public void write(CDROutputStream cdr)
write
in class ProtocolAddressBase
public static IIOPAddress read(CDRInputStream cdr)
public java.lang.String getOriginalHost()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |