public interface Address
| Modifier and Type | Field and Description |
|---|---|
static short |
MASK_ADDRESS_PRIORITY
Only the lowest 12 bits are available for the addresses priority.
|
| Modifier and Type | Method and Description |
|---|---|
Transport |
createTransport()
Use the transport constructor to construct a new transport.
|
java.lang.Object |
get_component_data(int idx)
Returns the data associated with a particular component, or null if
the component at that index has no associated data.
|
org.omg.IOP.TaggedComponent |
get_component(int idx)
Get the component at the specified index in the get_components array.
|
org.omg.IOP.TaggedComponent[] |
get_components()
Returns any components associated with this address.
|
org.omg.IOP.TaggedComponent[] |
get_components(int tag)
Returns any components with the specified tag.
|
int |
get_profile_components()
Returns the number of components associated only with the profile
which created this address.
|
org.omg.CORBA.Policy[] |
get_target_policies(int[] ts)
Returns a PolicyList containing the requested PolicyTypes set for the
address.
|
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 |
getObjectKeyDescription()
Human readable string describing the object key.
|
java.lang.String |
getObjectKeyString()
A string which contains an RFC2396 encoding of the object key, as could
be included in a corbaloc style address.
|
short |
getPriority()
Get the addresses priority.
|
short |
getPriority(short mask)
Get the addresses priority.
|
java.lang.String |
getProtocol()
The protocol string as would appear in the corbaloc address.
|
org.omg.GIOP.TargetAddress |
getTargetAddress(short adressingDisposition)
Get target address with specified addressing disposition.
|
void |
set_component_data(int idx,
java.lang.Object obj)
Set the data associated with a particular component, or null if
the component at that index has no associated data.
|
void |
setPriority(short priority)
Set the address priority.
|
short |
setPriority(short priority,
short mask)
Set the address priority.
|
void |
setTransportConstructor(java.lang.reflect.Constructor ctor,
java.lang.Object[] args)
Set the transport constructor for the address.
|
static final short MASK_ADDRESS_PRIORITY
org.omg.GIOP.TargetAddress getTargetAddress(short adressingDisposition)
org.omg.CORBA.Policy[] get_target_policies(int[] ts)
org.omg.IOP.TaggedComponent[] get_components()
org.omg.IOP.TaggedComponent[] get_components(int tag)
int get_profile_components()
org.omg.IOP.TaggedComponent get_component(int idx)
java.lang.IndexOutOfBoundsException - if the index is out of bounds.java.lang.Object get_component_data(int idx)
java.lang.IndexOutOfBoundsException - if the index is out of bounds.void set_component_data(int idx,
java.lang.Object obj)
java.lang.IndexOutOfBoundsException - if the index is out of bounds.void setTransportConstructor(java.lang.reflect.Constructor ctor,
java.lang.Object[] args)
Transport createTransport()
short getPriority()
short getPriority(short mask)
mask - mask of bits to getvoid setPriority(short priority)
short setPriority(short priority,
short mask)
java.lang.String getProtocol()
java.lang.String getEndpointString()
java.lang.String getEndpointDescription()
java.lang.String getObjectKeyString()
java.lang.String getObjectKeyDescription()