#include <Server_Request.h>
Collaboration diagram for CORBA::ServerRequest:
Public Types | |
typedef CORBA::ServerRequest_ptr | _ptr_type |
Useful for template programming. | |
Public Member Functions | |
ServerRequest (TAO_ServerRequest &orb_server_request) | |
Constructor. | |
~ServerRequest (void) | |
Destructor. | |
void | arguments (CORBA::NVList_ptr &list) |
void | set_result (const CORBA::Any &value) |
void | set_exception (const CORBA::Any &value) |
void | dsi_marshal () |
Marshal outgoing parameters. | |
CORBA::Context_ptr | ctx (void) const |
Accessor for the Context member. | |
void | ctx (CORBA::Context_ptr) |
Mutator for the Context member. | |
const char * | operation (void) const |
Get the operation name. | |
CORBA::ULong | _incr_refcnt (void) |
CORBA::ULong | _decr_refcnt (void) |
void | _tao_lazy_evaluation (bool lazy_evaluation) |
Set the lazy evaluation flag. | |
int | _tao_incoming_byte_order (void) const |
Get the byte order of the incoming CDR stream. | |
void | _tao_reply_byte_order (int byte_order) |
Set the byte order of the outgoing CDR stream. | |
TAO_ServerRequest & | _tao_server_request (void) |
Return a reference to the underlying TAO_ServerRequest object. | |
void | gateway_exception_reply (ACE_CString &raw_exception) |
Static Public Member Functions | |
ServerRequest_ptr | _duplicate (ServerRequest_ptr) |
ServerRequest_ptr | _nil (void) |
Private Attributes | |
bool | lazy_evaluation_ |
If zero then the NVList is evaluated ASAP. | |
CORBA::Context_ptr | ctx_ |
Context associated with this request. | |
CORBA::NVList_ptr | params_ |
Incoming parameters. | |
CORBA::Any_ptr | retval_ |
Return value. | |
CORBA::Any_ptr | exception_ |
Any exception which might be raised. | |
CORBA::ULong | refcount_ |
Reference counting. | |
TAO_SYNCH_MUTEX | lock_ |
Protect the refcount_ and response_received_. | |
TAO_ServerRequest & | orb_server_request_ |
Request from the ORB. | |
int | sent_gateway_exception_ |
Have we sent a user exception obtained from a gateway? |
Instantiated by the POA for DSI requests and passed up to the application. Contains a reference to the instance of TAO_ServerRequest that is passed up to the POA from the ORB.
|
Useful for template programming.
|
|
Constructor.
|
|
Destructor.
|
|
|
|
|
|
|
|
|
|
Get the byte order of the incoming CDR stream.
|
|
Set the lazy evaluation flag.
|
|
Set the byte order of the outgoing CDR stream.
|
|
Return a reference to the underlying TAO_ServerRequest object.
|
|
Implementation uses this to provide the ORB with the operation's parameter list ... on return, their values are available; the list fed in has typecodes and (perhap) memory assigned. |
|
Mutator for the Context member.
|
|
Accessor for the Context member.
|
|
Marshal outgoing parameters.
|
|
Returns a user exception through a TAO gateway without knowing its type. |
|
Get the operation name.
|
|
Implementation uses this to provide the exception value which is the only result of this particular invocation. XXX Implementation should be able to assume response has been sent when this returns, and reclaim memory it allocated. |
|
Implementation uses this to provide the operation result ... illegal if exception() was called or params() was not called. XXX Implementation should be able to assume response has been sent when this returns, and reclaim memory it allocated. |
|
Context associated with this request.
|
|
Any exception which might be raised.
|
|
If zero then the NVList is evaluated ASAP.
|
|
Protect the refcount_ and response_received_.
|
|
|
|
Incoming parameters.
|
|
Reference counting.
|
|
Return value.
|
|
Have we sent a user exception obtained from a gateway?
|