public class MIOPProfile extends ProfileBase
MIOPFactories
,
Serialized Formcomponents, configuration, corbalocStr, logger, objectKey, version
Constructor and Description |
---|
MIOPProfile(byte[] data)
Creates a MIOP profile from a marshaled profile.
|
MIOPProfile(String corbaloc)
Creates a MIOP profile from a corbaloc URL.
|
MIOPProfile(String address,
short port,
String domainId,
long groupId,
org.omg.GIOP.Version groupVersion,
int groupRefVersion,
IIOPProfile iiop)
Creates a MIOP profile based on a complete information set.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration config)
Configure this object.
|
byte[] |
get_object_key()
The group object key, or the tagGroup as a byte array.
|
IIOPProfile |
getGroupIIOPProfile()
the IIOP group profile (for two way requests).
|
InetAddress |
getGroupInetAddress()
Returns the group InetAddress.
|
org.omg.PortableGroup.TagGroupTaggedComponent |
getTagGroup()
Returns tagGroup, the group logical information struct.
|
org.omg.MIOP.UIPMC_ProfileBody |
getUIPMCProfile()
Returns the UIPMC profile.
|
int |
hash()
Hash code of this profile.
|
boolean |
is_match(org.omg.ETF.Profile profile)
Test if the passed profile is equal this.
|
void |
marshal(TaggedProfileHolder taggedProfile,
TaggedComponentSeqHolder taggedComponentSeq)
Encode this profile as a TaggedProfile (marshaled).
|
void |
parseTagGroup(String s)
Parses a Tag Group from a String.
Example: "1.0-MyDomain-1" where: <group component version>-<group_domain_id>-<object_group_id>[-<object group
reference version>] |
void |
readAddressProfile(CDRInputStream stream)
Read address profile.
|
void |
set_object_key(byte[] objectKey)
Set this object key.
|
int |
tag()
Return the profile tag.
|
String |
toString()
The string address of this profile.
|
org.omg.GIOP.Version |
version()
This profile MIOP version.
|
void |
writeAddressProfile(CDROutputStream stream)
Write address profile.
|
addComponent, addComponent, asListenPoints, asTaggedProfile, copy, demarshal, encapsulation, getComponent, getComponents, initFromProfileData, patchPrimaryAddress, removeComponents
_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
clone, equals, finalize, getClass, hashCode, 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_override
public MIOPProfile(byte[] data)
data
- the byte arraypublic MIOPProfile(String address, short port, String domainId, long groupId, org.omg.GIOP.Version groupVersion, int groupRefVersion, IIOPProfile iiop)
address
- group address.port
- group port.domainId
- group domain id.groupId
- group id.groupVersion
- group version.groupRefVersion
- group reference version.iiop
- the IIOP group profile..public MIOPProfile(String corbaloc)
corbaloc
- group corbaloc URLpublic void configure(Configuration config) throws ConfigurationException
configure
in interface Configurable
configure
in class ProfileBase
config
- the configConfigurationException
- if any problem with the configuration is
detectedpublic byte[] get_object_key()
get_object_key
in interface org.omg.ETF.ProfileOperations
get_object_key
in class ProfileBase
public int hash()
public boolean is_match(org.omg.ETF.Profile profile)
profile
- other profile.public void marshal(TaggedProfileHolder taggedProfile, TaggedComponentSeqHolder taggedComponentSeq)
marshal
in interface org.omg.ETF.ProfileOperations
marshal
in class ProfileBase
taggedProfile
- a tagged profile holder.taggedComponentSeq
- unused.public void set_object_key(byte[] objectKey)
set_object_key
in interface org.omg.ETF.ProfileOperations
set_object_key
in class ProfileBase
objectKey
- unused.public int tag()
tag
in interface org.omg.ETF.ProfileOperations
tag
in class ProfileBase
public org.omg.GIOP.Version version()
version
in interface org.omg.ETF.ProfileOperations
version
in class ProfileBase
public final InetAddress getGroupInetAddress()
public final org.omg.MIOP.UIPMC_ProfileBody getUIPMCProfile()
public final org.omg.PortableGroup.TagGroupTaggedComponent getTagGroup()
public final IIOPProfile getGroupIIOPProfile()
public final String toString()
public void parseTagGroup(String s)
<group component version>-<group_domain_id>-<object_group_id>[-<object group
reference version>]
s
- public void readAddressProfile(CDRInputStream stream)
readAddressProfile
in class ProfileBase
stream
- the streamCDRInputStream)
public void writeAddressProfile(CDROutputStream stream)
writeAddressProfile
in class ProfileBase
stream
- the streamProfileBase.writeAddressProfile(org.jacorb.orb.CDROutputStream)
Copyright © 2017 JacORB. All rights reserved.