public final class IIOPAddress extends AbstractAddress implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static short |
MASK_PRI_SECURE
Bits available to be altered for differing security levels.
|
static short |
MASK_PRI_VERSION
Mask of bits set for the version priority.
|
static short |
PRI_FLAG_ALTERNATE
Flag set if address is an alternate address.
|
static short |
PRI_FLAG_NONPRIMARY
Flag set if address is from profile not containing primary profile
component.
|
static short |
PRI_UNSECURE
Standard unsecured address.
|
static short[] |
PRI_VERSION
Version priorities
|
MASK_ADDRESS_PRIORITY| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone an IIOP address object.
|
boolean |
equals(java.lang.Object obj)
Checks whether two instances are equal.
|
Address[] |
get_alternates()
Return all the alternative addresses created from this profile.
|
java.net.InetAddress |
get_host()
Return the host as an InetAddress
|
java.lang.String |
get_hostname()
Return the hostname of the target.
|
int |
get_orb_type()
Return the four char orb type.
|
int |
get_port()
Return the port number of the target.
|
org.omg.IIOP.Version |
get_version()
Get the IIOP version of the target.
|
org.omg.CONV_FRAME.CodeSetComponentInfo |
getCodesetComponentInfo()
Return the codeset data.
|
java.lang.String |
getEndpointDescription()
Human readable string describing the endpoint.
|
java.lang.String |
getEndpointString()
A string which could be used to contact the endpoint in a corbaloc
style address.
|
java.lang.String |
getProtocol()
The protocol string as would appear in the corbaloc address.
|
int |
hashCode()
Compute a hash code for this class.
|
void |
setHost(java.net.InetAddress host)
Set the host name of this IIOP address.
|
void |
setPort(int port)
Set the port number of this IIOP address.
|
void |
setProtocol(java.lang.String protocol)
Set the protocol version of this IIOP address.
|
createTransport, get_component_data, get_component, get_components, get_components, get_profile_components, get_target_policies, getObjectKeyDescription, getObjectKeyString, getPriority, getPriority, getTargetAddress, set_component_data, set_components, set_ior, set_oid, set_policies, setPriority, setPriority, setTransportConstructorpublic static final short MASK_PRI_VERSION
public static final short[] PRI_VERSION
public static final short PRI_FLAG_ALTERNATE
public static final short PRI_FLAG_NONPRIMARY
public static final short MASK_PRI_SECURE
public static final short PRI_UNSECURE
public void setHost(java.net.InetAddress host)
public void setPort(int port)
public void setProtocol(java.lang.String protocol)
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String getProtocol()
getProtocol in interface Addresspublic java.lang.String get_hostname()
public java.net.InetAddress get_host()
public int get_port()
public org.omg.IIOP.Version get_version()
public int get_orb_type()
public org.omg.CONV_FRAME.CodeSetComponentInfo getCodesetComponentInfo()
public Address[] get_alternates()
public java.lang.String getEndpointString()
getEndpointString in interface Addresspublic java.lang.String getEndpointDescription()
getEndpointDescription in interface Addresspublic int hashCode()
hashCode in class AbstractAddresspublic boolean equals(java.lang.Object obj)
equals in class AbstractAddressobj - The object to compare with.