Expand description
OMG CORBA 3.3 Part 1 §11 — Portable Object Adapter (POA).
Crate zerodds-corba-poa. Safety classification: STANDARD.
no_std + alloc, forbid(unsafe_code).
Voller POA-Stack mit allen 7 Policies in allen Modi, POAManager- State-Machine, POA-Hierarchie, Active-Object-Map, ServantManager- Hooks und Policy-Compatibility-Validator.
§Public API (Stand 1.0.0-rc.1)
Poa/PoaConfig— POA-Instanz mit Hierarchie.PoaManager/PoaManagerState— State-Machine (Holding/Active/Discarding/Inactive).PolicySet+ die 7*Policy-Enums (Spec §11.3.7).Servant— Servant-Trait mitprimary_interface/primary_repository_id(typisiert viacorba-ir) /all_interfaces/is_a/invoke.ActiveObjectMap/ServantId.ServantActivator/ServantLocator(Spec §11.3.5.7-§11.3.5.8).ObjectId(Spec §11.2.1).PoaError/PoaResult.
§Beispiel
use zerodds_corba_poa::policies::PolicySet;
let policies = PolicySet::default();
assert!(policies.validate().is_ok());Re-exports§
pub use active_object_map::ActiveObjectMap;pub use active_object_map::ServantId;pub use error::PoaError;pub use error::PoaResult;pub use object_id::ObjectId;pub use poa::Poa;pub use poa::PoaConfig;pub use poa_manager::PoaManager;pub use poa_manager::PoaManagerState;pub use policies::IdAssignmentPolicy;pub use policies::IdUniquenessPolicy;pub use policies::ImplicitActivationPolicy;pub use policies::LifespanPolicy;pub use policies::PolicySet;pub use policies::RequestProcessingPolicy;pub use policies::ServantRetentionPolicy;pub use policies::ThreadPolicy;pub use servant::Servant;pub use servant_manager::ServantActivator;pub use servant_manager::ServantLocator;pub use servant_manager::ServantLocatorCookie;
Modules§
- active_
object_ map - Active-Object-Map (AOM) — Spec §11.3.5.
- error
- POA-Fehler — Spec §11.3.7.
- object_
id - ObjectId — Spec §11.3.4.
- poa
- POA — Spec §11.3.5.
- poa_
manager - POAManager — Spec §11.3.2.
- policies
- POA Policies — Spec §11.3.6 Table 11-2.
- servant
- Servant — Spec §11.3.3.
- servant_
manager - ServantManager — Spec §11.3.5.10/11.3.5.11.