Expand description
OMG CORBA 3.3 Part 2 §13.6 — Interoperable Object Reference (IOR).
Crate zerodds-corba-ior. Safety classification: STANDARD.
Spec OMG CORBA 3.3 Part 2 §13.6.
§Scope
Full IOR stack:
- IOR struct (spec §13.6.2):
string type_id+sequence<TaggedProfile> profiles. - TaggedProfile with all standard profile tags (spec §13.6.7.1)
plus IIOP profile body via
crates/corba-iiop/. - TaggedComponent with over 30 standard component tags (spec §13.6.7.3) and structured decoders for the most important ones: ORB_TYPE / CODE_SETS / ALTERNATE_IIOP_ADDRESS / SSL_SEC_TRANS / TLS_SEC_TRANS / RMI_CUSTOM_MAX_STREAM_FORMAT / JAVA_CODEBASE.
- stringified IOR (spec §13.6.10):
IOR:prefix + hex encoding of a CDR encapsulation. Bidirectional encode/decode. - corbaloc: and corbaname: URL parser (spec §13.6.10 over the naming-service submapping).
§Example
use zerodds_corba_ior::{Ior, ProfileId};
let ior = Ior::default();
assert!(ior.profiles.is_empty());
assert_eq!(ProfileId::InternetIop.as_u32(), 0);Re-exports§
pub use component_tags::ComponentId;pub use components::AlternateIiopAddress;pub use components::CodeSetComponent;pub use components::CodeSetComponentInfo;pub use components::OrbType;pub use components::Ssl;pub use components::StreamFormatVersion;pub use components::StructuredComponent;pub use components::TaggedComponent;pub use components::TlsSecTrans;pub use error::IorError;pub use error::IorResult;pub use ior::Ior;pub use profile_tags::ProfileId;pub use stringified::STRINGIFIED_IOR_PREFIX;pub use stringified::from_stringified;pub use stringified::to_stringified;pub use tagged_profile::TaggedProfile;pub use url::CorbalocAddress;pub use url::CorbanameAddress;pub use url::parse_corbaloc;pub use url::parse_corbaname;
Modules§
- component_
tags - IOR component tags — spec §13.6.7.3.
- components
- TaggedComponent + structured decoders for important tags.
- error
- IOR codec errors.
- ior
- IOR struct — spec §13.6.2.
- profile_
tags - IOR profile tags — spec §13.6.7.1.
- stringified
- Stringified-IOR — Spec §13.6.10.
- tagged_
profile - TaggedProfile — Spec §13.6.2.
- url
corbaloc:andcorbaname:URL parsers — spec §13.6.10.