pub struct ClientRequestInfo<'a> { /* private fields */ }Expand description
PortableInterceptor::ClientRequestInfo: one request as the client
interceptors see it, during one interception point.
Implementations§
Source§impl<'a> ClientRequestInfo<'a>
impl<'a> ClientRequestInfo<'a>
Sourcepub fn point(&self) -> ClientPoint
pub fn point(&self) -> ClientPoint
The interception point being run.
Sourcepub fn request_id(&self) -> u32
pub fn request_id(&self) -> u32
request_id: unique among the requests of this ORB in progress
(not the GIOP request id).
Sourcepub fn arguments(&self) -> Result<Vec<Parameter>, SystemException>
pub fn arguments(&self) -> Result<Vec<Parameter>, SystemException>
arguments: only for a DII request (else NO_RESOURCES), in
send_request and receive_reply.
Sourcepub fn exceptions(&self) -> Result<Vec<TypeCode>, SystemException>
pub fn exceptions(&self) -> Result<Vec<TypeCode>, SystemException>
exceptions: the exception list of a DII request.
Sourcepub fn contexts(&self) -> Result<Vec<String>, SystemException>
pub fn contexts(&self) -> Result<Vec<String>, SystemException>
contexts: NO_RESOURCES (rustorb has no context clauses).
Sourcepub fn operation_context(&self) -> Result<Vec<String>, SystemException>
pub fn operation_context(&self) -> Result<Vec<String>, SystemException>
operation_context: NO_RESOURCES.
Sourcepub fn result(&self) -> Result<Any, SystemException>
pub fn result(&self) -> Result<Any, SystemException>
result: only in receive_reply of a DII request.
Sourcepub fn response_expected(&self) -> bool
pub fn response_expected(&self) -> bool
response_expected.
Sourcepub fn sync_scope(&self) -> i16
pub fn sync_scope(&self) -> i16
sync_scope: the Messaging::SyncScope the request is sent with,
from the SyncScopePolicy in effect for a oneway request, and
SYNC_WITH_TARGET for a two-way one.
Sourcepub fn reply_status(&self) -> Result<i16, SystemException>
pub fn reply_status(&self) -> Result<i16, SystemException>
reply_status (reply_status).
Sourcepub fn forward_reference(&self) -> Result<ObjectRef, SystemException>
pub fn forward_reference(&self) -> Result<ObjectRef, SystemException>
forward_reference: in receive_other of a LOCATION_FORWARD.
Sourcepub fn get_slot(&self, id: SlotId) -> Result<Any, InvalidSlot>
pub fn get_slot(&self, id: SlotId) -> Result<Any, InvalidSlot>
get_slot: the request’s copy of the slots.
Sourcepub fn get_request_service_context(
&self,
id: u32,
) -> Result<ServiceContext, SystemException>
pub fn get_request_service_context( &self, id: u32, ) -> Result<ServiceContext, SystemException>
get_request_service_context: one the interceptors added (the ones
rustorb writes itself, such as CodeSets, are not here).
Sourcepub fn get_reply_service_context(
&self,
id: u32,
) -> Result<ServiceContext, SystemException>
pub fn get_reply_service_context( &self, id: u32, ) -> Result<ServiceContext, SystemException>
get_reply_service_context.
Sourcepub fn effective_target(&self) -> &ObjectRef
pub fn effective_target(&self) -> &ObjectRef
effective_target: where the request goes, after forwards.
Sourcepub fn effective_profile(&self) -> &TaggedProfile
pub fn effective_profile(&self) -> &TaggedProfile
effective_profile: the profile of the address being tried.
Sourcepub fn received_exception(&self) -> Result<Any, SystemException>
pub fn received_exception(&self) -> Result<Any, SystemException>
received_exception: in receive_exception. A user exception
whose TypeCode is not known (anything but a DII request with an
exception list) is an Any of UNKNOWN.
Sourcepub fn received_exception_id(&self) -> Result<String, SystemException>
pub fn received_exception_id(&self) -> Result<String, SystemException>
received_exception_id.
Sourcepub fn get_effective_component(
&self,
tag: u32,
) -> Result<TaggedComponent, SystemException>
pub fn get_effective_component( &self, tag: u32, ) -> Result<TaggedComponent, SystemException>
get_effective_component: the first component with tag in the
effective profile (BAD_PARAM if none).
Sourcepub fn get_effective_components(
&self,
tag: u32,
) -> Result<Vec<TaggedComponent>, SystemException>
pub fn get_effective_components( &self, tag: u32, ) -> Result<Vec<TaggedComponent>, SystemException>
get_effective_components.
Sourcepub fn get_request_policy(
&self,
policy_type: PolicyType,
) -> Result<Option<PolicyValue>, SystemException>
pub fn get_request_policy( &self, policy_type: PolicyType, ) -> Result<Option<PolicyValue>, SystemException>
get_request_policy: the client policy of policy_type in effect
(None if none is). INV_POLICY for a type that is not a client
policy.
Sourcepub fn add_request_service_context(
&self,
sc: ServiceContext,
replace: bool,
) -> Result<(), SystemException>
pub fn add_request_service_context( &self, sc: ServiceContext, replace: bool, ) -> Result<(), SystemException>
add_request_service_context: in send_request.