TAO
2.3.1
|
Base class for remote invocations. More...
#include <Remote_Invocation.h>
Public Member Functions | |
Remote_Invocation (CORBA::Object_ptr otarget, Profile_Transport_Resolver &resolver, TAO_Operation_Details &detail, bool response_expected) | |
void | _tao_byte_order (int byte_order) |
int | _tao_byte_order () |
![]() | |
virtual | ~Invocation_Base (void) |
TAO_Stub * | stub (void) const |
Accessor and mutator methods. More... | |
CORBA::Object_ptr | forwarded_reference (void) |
void | forwarded_reference (CORBA::Object_ptr o) |
Accessor and mutator methods. More... | |
TAO_Service_Context & | request_service_context (void) |
Accessors for the service context list. More... | |
TAO_Service_Context & | reply_service_context (void) |
Accessor and mutator methods. More... | |
CORBA::Object_ptr | steal_forwarded_reference (void) |
Return the forwarded object location by loosing ownership. More... | |
CORBA::Object_ptr | effective_target (void) const |
Return the effective target of the invocation. More... | |
CORBA::Object_ptr | target (void) const |
Return the target object. More... | |
CORBA::Boolean | response_expected (void) const |
Does this invocation return a response? More... | |
GIOP::ReplyStatusType | reply_status (void) const |
Accessor of reply_status of the invocation. More... | |
void | reply_status (GIOP::ReplyStatusType s) |
Mutator of reply_status of the invocation. More... | |
TAO_Operation_Details & | operation_details (void) |
The operaton details of the invocation. More... | |
size_t & | stack_size (void) |
CORBA::Exception * | caught_exception (void) |
The client requestor adapter. More... | |
TAO::Invocation_Status | invoke_status (void) const |
Invocation status. More... | |
void | invoke_status (Invocation_Status s) |
Mutator to set the invocation status. More... | |
PortableInterceptor::ReplyStatus | pi_reply_status (void) const |
The client requestor adapter. More... | |
bool | is_remote_request () const |
Protected Attributes | |
Profile_Transport_Resolver & | resolver_ |
Our resolver. More... | |
int | byte_order_ |
Intended byte order for message output stream. More... | |
![]() | |
TAO_Operation_Details & | details_ |
The operation details on which we are operating on. More... | |
CORBA::Object_var | forwarded_to_ |
Forwarded object reference. More... | |
bool | response_expected_ |
Is response expected? More... | |
GIOP::ReplyStatusType | reply_status_ |
A GIOP reply status of the invocation. More... | |
ClientRequestInterceptor_Adapter * | cri_adapter_ |
The client requestor adapter. More... | |
ServerRequestInterceptor_Adapter * | sri_adapter_ |
The client requestor adapter. More... | |
size_t | stack_size_ |
The client requestor adapter. More... | |
TAO::Invocation_Status | invoke_status_ |
The client requestor adapter. More... | |
Base class for remote invocations.
This class encapsulates some of the common functionalities used by synchronous, asynchronous, DII and DSI invocations.
TAO::Remote_Invocation::Remote_Invocation | ( | CORBA::Object_ptr | otarget, |
Profile_Transport_Resolver & | resolver, | ||
TAO_Operation_Details & | detail, | ||
bool | response_expected | ||
) |
otarget | The original target on which this invocation was started. This is there to be passed up to its parent class. |
resolver | The profile and transport holder. |
detail | Pperation details of the invocation on the target |
response_expected | Flag to indicate whether the operation encapsulated by op returns a response or not. |
void TAO::Remote_Invocation::_tao_byte_order | ( | int | byte_order | ) |
byte_order | The intended byte order for the message output stream. For use in message gateways that forward messages from sources with different byte order than the native order. |
int TAO::Remote_Invocation::_tao_byte_order | ( | ) |
Get the intended byte order for the message output stream. In case of gateway messages this could divert from the native byte order.
|
protected |
Initialize the spec.
|
protected |
Marshal the arguments into the stream.
|
protected |
Write the message onto the socket.
|
protected |
Write the GIOP header into the stream.
|
protected |
Intended byte order for message output stream.
|
protected |
Our resolver.