A registry for Connector factories.
void add_factory(in ConFactory factory);
Adds a Connector factory to the registry.
factory
- The Connector factory to add.
boolean equivalent(in IOR ior1, in IOR ior2);
Checks whether two IORs are equivalent. It calls the
equivalent
operation of all registered Connector
factories. Two IORs are considered equivalent, if all these
calls return TRUE
.
ior1
- The first IOR to check for equivalence.
ior2
- The second IOR to check for equivalence.
TRUE
if the IORs are equivalent,
FALSE
otherwise.
ConFactorySeq get_factories();
Returns a sequence of all registered Connector factories.
ConFactory get_factory(in IOR ior);
Returns a suitable Connector factory for an IOR.
ior
- The IOR to for which a Connector factory is
requested.
ConFactory get_factory_with_policies(in IOR ior, in CORBA::PolicyList policies);
Returns a suitable Connector factory for an IOR. The Connector factory returned must satisfy a list of policies.
ior
- The IOR for which a Connector factory is
requested.
policies
- The list of policies which have to be
satisfied.
unsigned long hash(in IOR ior, in unsigned long maximum);
Calculates an hash value for an IOR. This hash value is based on
the return values of the hash
operations of all
registered Connector factories.
ior
- The IOR to calculate an hash value for.
maximum
- The maximum hash value that is allowed.
Generated by the ORBacus IDL-to-HTML translator (non-commercial)