pub struct PoaManagerFactory { /* private fields */ }Expand description
PortableServer::POAManagerFactory (CORBA 3): creates POA managers
with an identity, to share among POAs, and finds those that exist in
the ORB. Got from any POA with
the_poa_manager_factory.
A manager exists from its creation (explicit, or implicit in
create_POA) until the last of its POAs is destroyed. One created
here that never had a POA exists until the ORB is destroyed.
Implementations§
Source§impl PoaManagerFactory
impl PoaManagerFactory
Sourcepub fn create_poa_manager(
&self,
id: &str,
policies: &[PolicyValue],
) -> Result<PoaManager, PoaError>
pub fn create_poa_manager( &self, id: &str, policies: &[PolicyValue], ) -> Result<PoaManager, PoaError>
create_POAManager: a new manager, in the holding state, with the
identity id (the empty string is a valid identity). Fails with
ManagerAlreadyExists if a manager with that identity exists in
the ORB, and with PolicyError (UNSUPPORTED_POLICY) for any
policy: none of the policies rustorb knows applies to POA managers.
Sourcepub fn list(&self) -> Vec<PoaManager>
pub fn list(&self) -> Vec<PoaManager>
list: every manager that exists in the ORB, whether created here
or by create_POA, in the order they were created.
Sourcepub fn find(&self, id: &str) -> Option<PoaManager>
pub fn find(&self, id: &str) -> Option<PoaManager>
find: the manager with the identity id, or None (a nil
reference).