Skip to main content

Crate zerodds_corba_dds_bridge

Crate zerodds_corba_dds_bridge 

Source
Expand description

CORBA-object ↔ DDS-topic bridge.

Crate zerodds-corba-dds-bridge. Safety classification: STANDARD.

§Scope

Bridges CORBA object method invocations bidirectionally onto DDS topic publish/subscribe:

  • CORBA → DDS: A GIOP request received by the bridge POA is converted into a DDS sample and published on the associated topic. The reply comes from a second reply topic.
  • DDS → CORBA: A DDS sample on a source topic is converted into a GIOP request and sent to a CORBA client endpoint (forwarding mode).

The BridgeMapping allows a many-to-many configuration: a CORBA object can serve multiple topics, and a DDS topic can accept requests from multiple CORBA objects.

The concrete wire binding to the CORBA world lives in wire: decode_giop_request_bytes and object_key_from_ior encapsulate the cross-crate calls into corba-giop and corba-ior respectively.

§Example

use zerodds_corba_dds_bridge::Direction;
assert_ne!(Direction::CorbaToDds, Direction::DdsToCorba);

Re-exports§

pub use mapping::BridgeMapping;
pub use mapping::BridgeRoute;
pub use mapping::Direction;
pub use mapping::OperationMapping;
pub use mapping::TopicQosRef;
pub use servant::BridgeServant;
pub use sync::LifecycleEvent;
pub use sync::LifecycleSync;
pub use wire::RequestSummary;
pub use wire::decode_giop_request_bytes;
pub use wire::object_key_from_ior;

Modules§

bridge_security
CORBA-DDS-Bridge §7.x bridge-security wire-up.
csiv2_wire
CSIv2 (Common Secure Interoperability v2) wire hooks for the bridge daemon.
daemon_runtime
Cross-cutting daemon runtime for the CORBA daemon.
locate
GIOP LocateRequest/LocateReply handler for the bridge daemon.
mapping
Mapping configuration between CORBA objects and DDS topics.
notify
CosNotification mapping (DDS topic ↔ CORBA notification channel).
qos_translation
§6 — DDS QoS → CORBA behavior translation.
servant
Bridge servant — processes GIOP requests and converts them into DDS sample publish operations.
sync
Lifecycle sync — spec-behavior mapping between CORBA POA state and DDS discovery.
wire
Wire helpers — connect the bridge to the concrete CORBA wire crates (zerodds-corba-giop + zerodds-corba-ior).