Interface OCI::AccRegistry

interface AccRegistry

A registry for Acceptors.

See Also:
Acceptor


Operation Index

add_acceptor
Adds an Acceptor to the registry.
add_profiles
Adds new profiles to an IOR.
get_acceptors
Returns a sequence of all registered Acceptors.
is_local
Checks whether an IOR is for a local object.

Operations

add_acceptor
void add_acceptor(in Acceptor Acceptor);

Adds an Acceptor to the registry.

Parameters:
Acceptor - The Acceptor to add.

add_profiles
void add_profiles(in ObjectKey key,
                  inout IOR ior);

Adds new profiles to an IOR. For each registered Acceptor a new profile is added by calling the Acceptor's add_profile operation.

Parameters:
key - The object key to use for the new profiles.
ior - The IOR.

get_acceptors
AcceptorSeq get_acceptors();

Returns a sequence of all registered Acceptors.

Returns:
A sequence of all registered Acceptors.

is_local
ObjectKey is_local(in IOR ior);

Checks whether an IOR is for a local object. It calls the is_local operation of all registered Acceptors. An IOR is considered local, if at least one of these calls returns a non-empty object key.

Parameters:
ior - The IOR to check for.
Returns:
If the IOR is for a local object, the object key for that local object, or an empty object key otherwise.


Generated by the ORBacus IDL-to-HTML translator (non-commercial)