#include <Pluggable_Messaging_Utils.h>
Inheritance diagram for TAO_Pluggable_Reply_Params_Base:
Public Member Functions | |
TAO_Pluggable_Reply_Params_Base (void) | |
Constructor. | |
IOP::ServiceContextList & | service_context_notowned (void) |
void | service_context_notowned (IOP::ServiceContextList *svc) |
GIOP::ReplyStatusType | reply_status (void) const |
void | reply_status (GIOP::ReplyStatusType status) |
GIOP::LocateStatusType | locate_reply_status (void) const |
void | locate_reply_status (GIOP::LocateStatusType status) |
Public Attributes | |
IOP::ServiceContextList | svc_ctx_ |
The IOP service context list. | |
CORBA::ULong | request_id_ |
The request id for which the reply we (connector) has received. | |
CORBA::Boolean | is_dsi_ |
ptrdiff_t | dsi_nvlist_align_ |
CORBA::Boolean | argument_flag_ |
Protected Attributes | |
IOP::ServiceContextList * | service_context_ |
The service context list that we don't own. | |
Private Attributes | |
GIOP::ReplyStatusType | reply_status_ |
The reply status. | |
GIOP::LocateStatusType | locate_reply_status_ |
The locate reply status. |
This represents a set of data that would be assembled by the acceptor to pass to the connector. This base class is used by TAO_ServerRequest. The child class TAO_Pluggable_Reply_Params is used on the client side, and contains an additional TAO_InputCDR member, not needed on the server side.
Definition at line 43 of file Pluggable_Messaging_Utils.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Pluggable_Reply_Params_Base::TAO_Pluggable_Reply_Params_Base | ( | void | ) |
Constructor.
Definition at line 8 of file Pluggable_Messaging_Utils.inl.
00009 : svc_ctx_ (), 00010 request_id_ (0), 00011 is_dsi_ (0), 00012 dsi_nvlist_align_ (0), 00013 argument_flag_ (false), 00014 service_context_ (0), 00015 reply_status_ (GIOP::NO_EXCEPTION), 00016 locate_reply_status_ (GIOP::UNKNOWN_OBJECT) 00017 { 00018 }
ACE_INLINE void TAO_Pluggable_Reply_Params_Base::locate_reply_status | ( | GIOP::LocateStatusType | status | ) |
Definition at line 39 of file Pluggable_Messaging_Utils.inl.
References locate_reply_status_.
00040 { 00041 this->locate_reply_status_ = status; 00042 }
ACE_INLINE GIOP::LocateStatusType TAO_Pluggable_Reply_Params_Base::locate_reply_status | ( | void | ) | const |
Definition at line 33 of file Pluggable_Messaging_Utils.inl.
References locate_reply_status_.
Referenced by TAO_Synch_Reply_Dispatcher::dispatch_reply(), and TAO_GIOP_Message_Generator_Parser::parse_locate_reply().
00034 { 00035 return this->locate_reply_status_; 00036 }
ACE_INLINE void TAO_Pluggable_Reply_Params_Base::reply_status | ( | GIOP::ReplyStatusType | status | ) |
Definition at line 27 of file Pluggable_Messaging_Utils.inl.
References reply_status_.
00028 { 00029 this->reply_status_ = status; 00030 }
ACE_INLINE GIOP::ReplyStatusType TAO_Pluggable_Reply_Params_Base::reply_status | ( | void | ) | const |
Definition at line 21 of file Pluggable_Messaging_Utils.inl.
References reply_status_.
Referenced by TAO_Synch_Reply_Dispatcher::dispatch_reply(), TAO_ServerRequest::init_reply(), TAO_GIOP_Message_Generator_Parser::parse_reply(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_GIOP_Message_Generator_Parser_12::write_reply_header().
00022 { 00023 return this->reply_status_; 00024 }
ACE_INLINE void TAO_Pluggable_Reply_Params_Base::service_context_notowned | ( | IOP::ServiceContextList * | svc | ) |
Definition at line 45 of file Pluggable_Messaging_Utils.inl.
References service_context_.
00047 { 00048 this->service_context_ = svc; 00049 }
ACE_INLINE IOP::ServiceContextList & TAO_Pluggable_Reply_Params_Base::service_context_notowned | ( | void | ) |
Get and Set methods for the service context list that we dont own. This is useful for cases where the application objects own a service context list and would like to pass on their contents without a copy.
Definition at line 52 of file Pluggable_Messaging_Utils.inl.
References service_context_.
Referenced by TAO_ServerRequest::init_reply(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Base::send_reply_exception(), TAO_GIOP_Message_Generator_Parser_12::write_reply_header(), and TAO_GIOP_Message_Generator_Parser_10::write_reply_header().
00053 { 00054 return *this->service_context_; 00055 }
A flag that indicates if there is any data is going to get marshalled in the reply
Definition at line 77 of file Pluggable_Messaging_Utils.h.
Referenced by TAO_ServerRequest::init_reply(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_GIOP_Message_Generator_Parser_12::write_reply_header().
Info required for DSI optimization that pads the outgoing CDR stream according to the alignment of the NVList.
Definition at line 64 of file Pluggable_Messaging_Utils.h.
Referenced by TAO_ServerRequest::init_reply(), TAO_ServerRequest::send_no_exception_reply(), and TAO_GIOP_Message_Generator_Parser_10::write_reply_header().
Since this class no longer contains an NVList, this is the way to determine if the request was DSI, so we can use Carlos' service context list no-deep-copy optimization.
Definition at line 60 of file Pluggable_Messaging_Utils.h.
Referenced by TAO_ServerRequest::init_reply(), TAO_ServerRequest::send_no_exception_reply(), and TAO_GIOP_Message_Generator_Parser_10::write_reply_header().
GIOP::LocateStatusType TAO_Pluggable_Reply_Params_Base::locate_reply_status_ [private] |
The locate reply status.
Definition at line 93 of file Pluggable_Messaging_Utils.h.
Referenced by locate_reply_status().
GIOP::ReplyStatusType TAO_Pluggable_Reply_Params_Base::reply_status_ [private] |
The reply status.
Definition at line 90 of file Pluggable_Messaging_Utils.h.
Referenced by reply_status().
The request id for which the reply we (connector) has received.
Definition at line 53 of file Pluggable_Messaging_Utils.h.
Referenced by TAO_Muxed_TMS::dispatch_reply(), TAO_Exclusive_TMS::dispatch_reply(), TAO_ServerRequest::init_reply(), TAO_GIOP_Message_Generator_Parser::parse_locate_reply(), TAO_GIOP_Message_Generator_Parser::parse_reply(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_GIOP_Message_Generator_Parser_12::write_reply_header().
IOP::ServiceContextList* TAO_Pluggable_Reply_Params_Base::service_context_ [protected] |
The service context list that we don't own.
Definition at line 87 of file Pluggable_Messaging_Utils.h.
Referenced by service_context_notowned().
IOP::ServiceContextList TAO_Pluggable_Reply_Params_Base::svc_ctx_ |
The IOP service context list.
Definition at line 50 of file Pluggable_Messaging_Utils.h.
Referenced by TAO_Synch_Reply_Dispatcher::dispatch_reply(), TAO_GIOP_Message_Generator_Parser_12::parse_reply(), TAO_GIOP_Message_Generator_Parser_10::parse_reply(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), and TAO_GIOP_Message_Base::send_reply_exception().