| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.net.AbstractAddress
Base class which implements much of the Address functionality.
| Fields inherited from interface org.openorb.net.Address | 
| MASK_ADDRESS_PRIORITY | 
| Constructor Summary | |
| AbstractAddress() | |
| Method Summary | |
|  Transport | createTransport()Use the transport constructor to construct a new transport. | 
|  boolean | equals(java.lang.Object obj) | 
|  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. | 
|  TaggedComponent | get_component(int idx)Get the component at the specified index in the get_components array. | 
|  TaggedComponent[] | get_components()Returns all components associated with this address. | 
|  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. | 
|  Policy[] | get_target_policies(int[] ts)Returns a PolicyList containing the requested PolicyTypes set for the 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. | 
|  TargetAddress | getTargetAddress(short adressingDisposition)Get target address with specified addressing disposition. | 
|  int | hashCode() | 
|  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. | 
| Methods inherited from class java.lang.Object | 
| getClass, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.openorb.net.Address | 
| getEndpointDescription, getEndpointString, getProtocol | 
| Constructor Detail | 
public AbstractAddress()
| Method Detail | 
public TargetAddress getTargetAddress(short adressingDisposition)
getTargetAddress in interface Addresspublic Policy[] get_target_policies(int[] ts)
get_target_policies in interface Addresspublic TaggedComponent[] get_components()
get_components in interface Addresspublic int get_profile_components()
get_profile_components in interface Addresspublic TaggedComponent[] get_components(int tag)
get_components in interface Addresspublic TaggedComponent get_component(int idx)
get_component in interface Addressjava.lang.IndexOutOfBoundsException - if the index is out of bounds.public java.lang.Object get_component_data(int idx)
get_component_data in interface Addressjava.lang.IndexOutOfBoundsException - if the index is out of bounds.
public void set_component_data(int idx,
                               java.lang.Object obj)
set_component_data in interface Addressjava.lang.IndexOutOfBoundsException - if the index is out of bounds.
public void setTransportConstructor(java.lang.reflect.Constructor ctor,
                                    java.lang.Object[] args)
setTransportConstructor in interface Addresspublic Transport createTransport()
createTransport in interface Addresspublic short getPriority()
getPriority in interface Addresspublic short getPriority(short mask)
getPriority in interface Addressmask - mask of bits to getpublic void setPriority(short priority)
setPriority in interface Address
public short setPriority(short priority,
                         short mask)
setPriority in interface Addresspublic java.lang.String getObjectKeyString()
getObjectKeyString in interface Addresspublic java.lang.String getObjectKeyDescription()
getObjectKeyDescription in interface Addresspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||