//! A Rust implementation of the subset of CORBA (GIOP/IIOP, CDR, IOR) the backend needs,
//! and intentionally nothing more of the specification.
//!
//! Specification: <https://www.omg.org/spec/CORBA/3.4/Interoperability/PDF>
/// 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";