|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.omg.ETF._ProfileLocalBase
org.jacorb.orb.iiop.IIOPProfile
public class IIOPProfile
| Constructor Summary | |
|---|---|
IIOPProfile(byte[] data)
|
|
IIOPProfile(IIOPAddress address,
byte[] objectKey)
|
|
IIOPProfile(IIOPAddress address,
byte[] objectKey,
int minor)
|
|
IIOPProfile(java.lang.String corbaloc)
Constructs an IIOPProfile from a corbaloc URL. |
|
| Method Summary | |
|---|---|
void |
addComponent(int tag,
byte[] data)
|
void |
addComponent(int tag,
java.lang.Object data,
java.lang.Class helper)
|
TaggedProfile |
asTaggedProfile()
|
java.lang.Object |
clone()
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
|
Profile |
copy()
This function shall return an equivalent, deep-copy of the profile on the free store. |
boolean |
equals(java.lang.Object profile)
|
byte[] |
get_object_key()
|
IIOPAddress |
getAddress()
|
java.util.List |
getAlternateAddresses()
|
java.lang.Object |
getComponent(int tag,
java.lang.Class helper)
|
TaggedComponentList |
getComponents()
|
SSL |
getSSL()
|
int |
getSSLPort()
Returns the port on which SSL is available according to this profile, or -1 if SSL is not supported. |
int |
getTLSPortFromCSIComponent()
If there is a component tagged with TAG_CSI_SEC_MECH_LIST, get the SSL port from this component. |
int |
hash()
To improve the management of a large set of profile instances, the author may provide a hash function using the data in a Profile instance. |
int |
hashCode()
|
boolean |
is_match(Profile prof)
This function shall determine if the passed profile, prof, is a match to this profile. |
void |
marshal(TaggedProfileHolder tagged_profile,
TaggedComponentSeqHolder components)
This function marshals the appropriate information for this transport into the tagged profile. |
void |
patchPrimaryAddress(java.lang.String newHost,
int newPort)
Replaces the host in this profile's primary address with newHost (if it is not null), and the port with newPort (if it is not -1). |
void |
set_object_key(byte[] key)
|
int |
tag()
|
IIOPProfile |
to_GIOP_1_0()
Returns a copy of this profile that is compatible with GIOP 1.0. |
java.lang.String |
toString()
|
Version |
version()
This attribute shall contain the GIOP version number that this profile supports. |
| Methods inherited from class org.omg.ETF._ProfileLocalBase |
|---|
_ids |
| Methods inherited from class org.omg.CORBA.LocalObject |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.omg.CORBA.Object |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Constructor Detail |
|---|
public IIOPProfile(byte[] data)
public IIOPProfile(IIOPAddress address,
byte[] objectKey)
public IIOPProfile(IIOPAddress address,
byte[] objectKey,
int minor)
public IIOPProfile(java.lang.String corbaloc)
| 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.Configurableorg.apache.avalon.framework.configuration.ConfigurationException
public void marshal(TaggedProfileHolder tagged_profile,
TaggedComponentSeqHolder components)
marshal in interface ProfileOperationspublic int hash()
hash in interface ProfileOperationspublic Profile copy()
copy in interface ProfileOperations
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean is_match(Profile prof)
is_match in interface ProfileOperationspublic Version version()
version in interface ProfileOperationspublic void set_object_key(byte[] key)
set_object_key in interface ProfileOperationspublic int tag()
tag in interface ProfileOperationspublic IIOPAddress getAddress()
public void patchPrimaryAddress(java.lang.String newHost,
int newPort)
public java.util.List getAlternateAddresses()
public byte[] get_object_key()
get_object_key in interface ProfileOperationspublic SSL getSSL()
public int getTLSPortFromCSIComponent()
public int getSSLPort()
public TaggedComponentList getComponents()
public java.lang.Object getComponent(int tag,
java.lang.Class helper)
public void addComponent(int tag,
java.lang.Object data,
java.lang.Class helper)
public void addComponent(int tag,
byte[] data)
public TaggedProfile asTaggedProfile()
public IIOPProfile to_GIOP_1_0()
public boolean equals(java.lang.Object profile)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||