public class IIOPProfile extends ProfileBase implements Cloneable
components, configuration, corbalocStr, logger, objectKey, version| Constructor and Description |
|---|
IIOPProfile() |
IIOPProfile(byte[] data) |
IIOPProfile(IIOPAddress address,
byte[] objectKey,
int minor) |
IIOPProfile(String corbaloc)
Constructs an IIOPProfile from a corbaloc URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllWildcardAddresses(Configuration config)
Method for use by IIOPListener to add all possible network addresses
that are listened on by a wildcard listener.
|
Collection<org.omg.IIOP.ListenPoint> |
asListenPoints() |
Object |
clone() |
void |
configure(Configuration config) |
boolean |
equals(Object other) |
ProtocolAddressBase |
getAddress() |
List<IIOPAddress> |
getAlternateAddresses() |
org.omg.SSLIOP.SSL |
getSSL() |
int |
getSSLPort()
Returns the port on which SSL is available according to this profile,
or -1 if SSL is not supported.
|
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(org.omg.ETF.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.
|
void |
setAlternateAddresses(List<IIOPAddress> alternates) |
int |
tag()
ETF defined read-only accessor for the GIOP tag.
|
IIOPProfile |
to_GIOP_1_0()
Returns a copy of this profile that is compatible with GIOP 1.0.
|
IIOPProfile |
toNonSSL()
copy this (ssl) IIOPProfile.
|
String |
toString() |
void |
writeAddressProfile(CDROutputStream addressProfileStream)
Writes the bytes that would make up the ETF::AddressProfile bytes (new spec)
to a stream.
|
addComponent, addComponent, asTaggedProfile, copy, demarshal, encapsulation, get_object_key, getComponent, getComponents, initFromProfileData, marshal, removeComponents, set_object_key, version_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_connectionfinalize, getClass, notify, notifyAll, wait, wait, wait_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overridepublic IIOPProfile()
public IIOPProfile(byte[] data)
public IIOPProfile(IIOPAddress address, byte[] objectKey, int minor)
public IIOPProfile(String corbaloc)
public void configure(Configuration config) throws ConfigurationException
configure in interface Configurableconfigure in class ProfileBaseConfigurationExceptionpublic void setAlternateAddresses(List<IIOPAddress> alternates)
public void addAllWildcardAddresses(Configuration config) throws ConfigurationException
config - ConfigurationExceptionpublic void writeAddressProfile(CDROutputStream addressProfileStream)
Writes GIOP version, host string, and port.
writeAddressProfile in class ProfileBasepublic void readAddressProfile(CDRInputStream addressProfileStream)
Writes GIOP version, host string, and port.
readAddressProfile in class ProfileBasepublic int hash()
hash in interface org.omg.ETF.ProfileOperationspublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean is_match(org.omg.ETF.Profile prof)
is_match in interface org.omg.ETF.ProfileOperationspublic int tag()
ProfileBasetag in interface org.omg.ETF.ProfileOperationstag in class ProfileBasepublic ProtocolAddressBase getAddress()
public void patchPrimaryAddress(ProtocolAddressBase replacement)
patchPrimaryAddress in class ProfileBasepublic List<IIOPAddress> getAlternateAddresses()
public org.omg.SSLIOP.SSL getSSL()
public int getSSLPort()
public IIOPProfile to_GIOP_1_0()
public Collection<org.omg.IIOP.ListenPoint> asListenPoints()
asListenPoints in class ProfileBasepublic IIOPProfile toNonSSL()
Copyright © 2017 JacORB. All rights reserved.