Package org.omg.PortableInterceptor
Class ClientRequestInfoHolder
- java.lang.Object
-
- org.omg.PortableInterceptor.ClientRequestInfoHolder
-
- All Implemented Interfaces:
Streamable
public final class ClientRequestInfoHolder extends java.lang.Object implements Streamable
Request Information, accessible to client-side request interceptors.Some attributes and operations on
ClientRequestInfoare not valid at all interception points. The following table shows the validity of each attribute or operation. If it is not valid, attempting to access it will result in aBAD_INV_ORDERbeing thrown with a standard minor code of 14.Request information send_request send_poll receive_reply receive_exception receive_other Inherited from RequestInfo: request_id yes yes yes yes yes operation yes yes yes yes yes arguments yes1 no yes no no exceptions yes no yes yes yes contexts yes no yes yes yes operation_context yes no yes yes yes result no no yes no no response_expected yes yes yes yes yes sync_scope yes no yes yes yes reply_status no no yes yes yes forward_reference no no no no yes2 get_slot yes yes yes yes yes get_request_service_context yes no yes yes yes get_reply_service_context no no yes yes yes ClientRequestInfo-specific: target yes yes yes yes yes effective_target yes yes yes yes yes effective_profile yes yes yes yes yes received_exception no no no yes no received_exception_id no no no yes no get_effective_component yes no yes yes yes get_effective_components yes no yes yes yes get_request_policy yes no yes yes yes add_request_service_context yes no no no no - When
ClientRequestInfois passed tosend_request, there is an entry in the list for every argument, whether in, inout, or out. But only the in and inout arguments will be available. - If the
reply_statusatribute is notLOCATION_FORWARD, accessing this attribute will throwBAD_INV_ORDERwith a standard minor code of 14.
- See Also:
ClientRequestInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description ClientRequestInfovalue
-
Constructor Summary
Constructors Constructor Description ClientRequestInfoHolder()ClientRequestInfoHolder(ClientRequestInfo initialValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void_read(InputStream i)Reads data fromistreamand initalizes thevaluefield of the Holder with the unmarshalled data.TypeCode_type()Retrieves theTypeCodeobject corresponding to the value in thevaluefield of the Holder.void_write(OutputStream o)Marshals toostreamthe value in thevaluefield of the Holder.
-
-
-
Field Detail
-
value
public ClientRequestInfo value
-
-
Constructor Detail
-
ClientRequestInfoHolder
public ClientRequestInfoHolder()
-
ClientRequestInfoHolder
public ClientRequestInfoHolder(ClientRequestInfo initialValue)
-
-
Method Detail
-
_read
public void _read(InputStream i)
Description copied from interface:StreamableReads data fromistreamand initalizes thevaluefield of the Holder with the unmarshalled data.- Specified by:
_readin interfaceStreamable- Parameters:
i- the InputStream that represents the CDR data from the wire.
-
_write
public void _write(OutputStream o)
Description copied from interface:StreamableMarshals toostreamthe value in thevaluefield of the Holder.- Specified by:
_writein interfaceStreamable- Parameters:
o- the CDR OutputStream
-
_type
public TypeCode _type()
Description copied from interface:StreamableRetrieves theTypeCodeobject corresponding to the value in thevaluefield of the Holder.- Specified by:
_typein interfaceStreamable- Returns:
- the
TypeCodeobject for the value held in the holder
-
-