Skip to main content

Crate zerodds_corba_ior

Crate zerodds_corba_ior 

Source
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

Voller IOR-Stack:

  • IOR-Struct (Spec §13.6.2): string type_id + sequence<TaggedProfile> profiles.
  • TaggedProfile mit allen Standard-Profile-Tags (Spec §13.6.7.1) plus IIOP-Profile-Body via crates/corba-iiop/.
  • TaggedComponent mit ueber 30 Standard-Component-Tags (Spec §13.6.7.3) und strukturierten Decodern fuer die wichtigsten: 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 einer CDR-Encapsulation. Bidirektional encode/decode.
  • corbaloc: und corbaname: URL-Parser (Spec §13.6.10 ueber das Naming-Service-Submapping).

§Beispiel

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 + strukturierte Decoder fuer wichtige Tags.
error
IOR-Codec-Fehler.
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: und corbaname: URL-Parser — Spec §13.6.10.