TAO_Pluggable_Reply_Params_Base Class Reference

TAO_Pluggable_Acceptor_Params. More...

#include <Pluggable_Messaging_Utils.h>

Inheritance diagram for TAO_Pluggable_Reply_Params_Base:

Inheritance graph
[legend]
Collaboration diagram for TAO_Pluggable_Reply_Params_Base:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Pluggable_Reply_Params_Base (void)
 Constructor.

IOP::ServiceContextListservice_context_notowned (void)
void service_context_notowned (IOP::ServiceContextList *svc)

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::ULong reply_status_
 The reply status.

CORBA::Boolean is_dsi_
ptrdiff_t dsi_nvlist_align_
CORBA::Boolean argument_flag_

Protected Attributes

IOP::ServiceContextListservice_context_
 The service context list that we don't own.


Detailed Description

TAO_Pluggable_Acceptor_Params.

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 42 of file Pluggable_Messaging_Utils.h.


Constructor & Destructor Documentation

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.i.

00009   : svc_ctx_ (),
00010     request_id_ (0),
00011     reply_status_ (0),
00012     is_dsi_ (0),
00013     dsi_nvlist_align_ (0),
00014     argument_flag_ (0),
00015     service_context_ (0)
00016 {
00017 }


Member Function Documentation

ACE_INLINE void TAO_Pluggable_Reply_Params_Base::service_context_notowned IOP::ServiceContextList svc  ) 
 

Definition at line 20 of file Pluggable_Messaging_Utils.i.

References service_context_.

00023 {
00024   this->service_context_ = svc;
00025 }

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 28 of file Pluggable_Messaging_Utils.i.

References service_context_.

Referenced by TAO_ServerRequest::init_reply(), TAO_GIOP_Message_Lite::process_request(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Lite::send_reply_exception(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_ServerRequest::tao_send_reply_exception().

00029 {
00030   return *this->service_context_;
00031 }


Member Data Documentation

CORBA::Boolean TAO_Pluggable_Reply_Params_Base::argument_flag_
 

A flag that indicates if there is any data is going to get marshalled in the reply

Definition at line 82 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_ServerRequest::tao_send_reply_exception().

ptrdiff_t TAO_Pluggable_Reply_Params_Base::dsi_nvlist_align_
 

Info required for DSI optimization that pads the outgoing CDR stream according to the alignment of the NVList.

Definition at line 69 of file Pluggable_Messaging_Utils.h.

Referenced by TAO_ServerRequest::init_reply(), and TAO_ServerRequest::send_no_exception_reply().

CORBA::Boolean TAO_Pluggable_Reply_Params_Base::is_dsi_
 

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 65 of file Pluggable_Messaging_Utils.h.

Referenced by TAO_ServerRequest::init_reply(), and TAO_ServerRequest::send_no_exception_reply().

CORBA::ULong TAO_Pluggable_Reply_Params_Base::reply_status_
 

The reply status.

Definition at line 58 of file Pluggable_Messaging_Utils.h.

Referenced by TAO_Synch_Reply_Dispatcher::dispatch_reply(), TAO_ServerRequest::init_reply(), TAO_GIOP_Message_Generator_Parser::marshal_reply_status(), TAO_GIOP_Message_Generator_Parser::parse_locate_reply(), TAO_GIOP_Message_Lite::parse_reply(), TAO_GIOP_Message_Generator_Parser::parse_reply(), TAO_GIOP_Message_Lite::process_request(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Lite::send_reply_exception(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_ServerRequest::tao_send_reply_exception().

CORBA::ULong TAO_Pluggable_Reply_Params_Base::request_id_
 

The request id for which the reply we (connector) has received.

Definition at line 52 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_Lite::parse_reply(), TAO_GIOP_Message_Generator_Parser::parse_reply(), TAO_GIOP_Message_Lite::process_request(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Lite::send_reply_exception(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_ServerRequest::tao_send_reply_exception().

IOP::ServiceContextList* TAO_Pluggable_Reply_Params_Base::service_context_ [protected]
 

The service context list that we don't own.

Definition at line 86 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 49 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_Lite::process_request(), TAO_GIOP_Message_Base::process_request(), TAO_ServerRequest::send_cached_reply(), TAO_ServerRequest::send_no_exception_reply(), TAO_GIOP_Message_Lite::send_reply_exception(), TAO_GIOP_Message_Base::send_reply_exception(), and TAO_ServerRequest::tao_send_reply_exception().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:23:00 2006 for TAO by doxygen 1.3.6