//! Pure rust implementation of the CORBA backend, we are intentionally only implementing
//! a subset of the CORBA specification, only what we need!
//!
//! Specification: https://www.omg.org/spec/CORBA/3.4/Interoperability/PDF
//!
//! This also includes the ZMQ event backend, because it is tightly coupled to the corba
//! backend, but for this one we are using the binding, and not a fresh Rust impl.
/// The longest message this side takes from a server, the length one announces being the one
/// thing a server says that has to be believed before anything of the message can be checked.
const MAX_MESSAGE_LEN: usize = 64 * 1024 * 1024;
/// How many events one turn of the loop takes at once, the ones past it coming in the turn
/// right after, which the poll answers straight away.
const EVENTS_CAPACITY: usize = 128;
const OBJECT_REPO_ID: &str = "IDL:omg.org/CORBA/Object:1.0";