org.jacorb.orb.iiop
public class IIOPProfile extends ProfileBase implements Cloneable
Version: $Id: IIOPProfile.java,v 1.27 2007/06/01 02:27:13 francisco Exp $
Constructor Summary | |
---|---|
IIOPProfile() | |
IIOPProfile(byte[] data) | |
IIOPProfile(IIOPAddress address, byte[] objectKey, int minor) | |
IIOPProfile(IIOPAddress address, byte[] objectKey) | |
IIOPProfile(String corbaloc)
Constructs an IIOPProfile from a corbaloc URL. |
Method Summary | |
---|---|
Object | clone() |
void | configure(Configuration config) |
boolean | equals(Object other) |
ProtocolAddressBase | getAddress() |
List | getAlternateAddresses() |
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 | patchPrimaryAddress(ProtocolAddressBase replacement)
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 | readAddressProfile(CDRInputStream addressProfileStream)
Reads the bytes that make up the ETF::AddressProfile bytes (new spec)
from a stream.
|
int | tag() |
String | toString() |
IIOPProfile | to_GIOP_1_0()
Returns a copy of this profile that is compatible with GIOP 1.0. |
void | writeAddressProfile(CDROutputStream addressProfileStream)
Writes the bytes that would make up the ETF::AddressProfile bytes (new spec)
to a stream.
|
Writes GIOP version, host string, and port.
Writes GIOP version, host string, and port.