A factory for Connector objects.
readonly attribute ProfileId tag;
The profile id tag.
boolean consider_with_policies(in IOR ior, in CORBA::PolicyList policies);
Determines whether this Connector factory can create a Connector for a given IOR and a given list of policies.
ior
- The IOR to consider.
policies
- The policies that must be satisfied.
TRUE
if a Connector can be created for the
IOR and the policies can be satisfied, FALSE
otherwise.
Connector create(in IOR ior);
Creates a new Connector for a given IOR. All connection specific data is taken from an IOR profile that matches this Connector factory. If more than one profile matches, then which of these profiles is used is implementation specific.
ior
- The IOR from which the profile and connection data
are extracted.
Connector create_with_policies(in IOR ior, in CORBA::PolicyList policies);
Creates a new Connector for a given IOR, satisfing a list of
policies. Like create
, all connection specific
data is taken from an IOR profile that matches this Connector
factory, and if more than one profile matches, then which of
these profiles is used is implementation specific.
ior
- The IOR from which the profile and connection data
are extracted.
policies
- The policies that must be satisfied.
boolean equivalent(in IOR ior1, in IOR ior2);
Checks whether two IORs are equivalent, taking only profiles into account matching this Connector factory.
ior1
- The first IOR to check for equivalence.
ior2
- The second IOR to check for equivalence.
TRUE
if the IORs are equivalent,
FALSE
otherwise.
ConFactoryInfo get_info();
Returns the information object associated with the Connector factory.
unsigned long hash(in IOR ior, in unsigned long maximum);
Calculates a hash value for an IOR.
ior
- The IOR to calculate a hash value for.
maximum
- The maximum value of the hash value.
Generated by the ORBacus IDL-to-HTML translator (non-commercial)