pub struct OrbInitInfo<'a> { /* private fields */ }Expand description
PortableInterceptor::ORBInitInfo, given to the initializers.
Implementations§
Source§impl OrbInitInfo<'_>
impl OrbInitInfo<'_>
Sourcepub fn arguments(&self) -> &[String]
pub fn arguments(&self) -> &[String]
arguments: the arguments the ORB was created with
(OrbOptions::arguments).
Sourcepub fn codec_factory(&self) -> CodecFactory
pub fn codec_factory(&self) -> CodecFactory
codec_factory.
Sourcepub fn register_initial_reference(
&self,
name: &str,
obj: Option<&ObjectRef>,
) -> Result<(), ResolveError>
pub fn register_initial_reference( &self, name: &str, obj: Option<&ObjectRef>, ) -> Result<(), ResolveError>
register_initial_reference, as Orb::register_initial_reference.
Sourcepub fn resolve_initial_references(
&self,
name: &str,
) -> Result<ObjectRef, ResolveError>
pub fn resolve_initial_references( &self, name: &str, ) -> Result<ObjectRef, ResolveError>
resolve_initial_references, only in post_init (BAD_INV_ORDER
in pre_init).
Sourcepub fn add_client_request_interceptor(
&mut self,
interceptor: Arc<dyn ClientRequestInterceptor>,
) -> Result<(), DuplicateName>
pub fn add_client_request_interceptor( &mut self, interceptor: Arc<dyn ClientRequestInterceptor>, ) -> Result<(), DuplicateName>
add_client_request_interceptor. Names other than "" must be
unique among the client interceptors.
Sourcepub fn add_server_request_interceptor(
&mut self,
interceptor: Arc<dyn ServerRequestInterceptor>,
) -> Result<(), DuplicateName>
pub fn add_server_request_interceptor( &mut self, interceptor: Arc<dyn ServerRequestInterceptor>, ) -> Result<(), DuplicateName>
add_server_request_interceptor.
Sourcepub fn add_ior_interceptor(
&mut self,
interceptor: Arc<dyn IorInterceptor>,
) -> Result<(), DuplicateName>
pub fn add_ior_interceptor( &mut self, interceptor: Arc<dyn IorInterceptor>, ) -> Result<(), DuplicateName>
add_ior_interceptor.
Sourcepub fn allocate_slot_id(&mut self) -> SlotId
pub fn allocate_slot_id(&mut self) -> SlotId
allocate_slot_id: a new slot of PiCurrent.
Sourcepub fn register_policy_factory(
&mut self,
policy_type: PolicyType,
) -> Result<(), SystemException>
pub fn register_policy_factory( &mut self, policy_type: PolicyType, ) -> Result<(), SystemException>
register_policy_factory: not supported yet (NO_IMPLEMENT).
Sourcepub fn pi_current(&self) -> PiCurrent
pub fn pi_current(&self) -> PiCurrent
The PiCurrent of the ORB, with the slots allocated so far.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OrbInitInfo<'a>
impl<'a> !UnwindSafe for OrbInitInfo<'a>
impl<'a> Forget for OrbInitInfo<'a>
impl<'a> Freeze for OrbInitInfo<'a>
impl<'a> Move for OrbInitInfo<'a>
impl<'a> Send for OrbInitInfo<'a>
impl<'a> Sync for OrbInitInfo<'a>
impl<'a> Unpin for OrbInitInfo<'a>
impl<'a> UnsafeUnpin for OrbInitInfo<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more