summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Base.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-11-02 07:13:04 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-11-02 07:13:04 +0000
commiteae5ebaf389a11e011b2f3c6f4b9c1bc0b5d5959 (patch)
tree52300a84c07910ff7f95f76d7b2820c1a4b59606 /TAO/tao/GIOP_Message_Base.cpp
parentece8bd22b38b18f2a288d36a05371ef7d62156c9 (diff)
downloadATCD-eae5ebaf389a11e011b2f3c6f4b9c1bc0b5d5959.tar.gz
ChangeLogTag:Tue Nov 1 14:49:40 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_Base.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Base.cpp38
1 files changed, 21 insertions, 17 deletions
diff --git a/TAO/tao/GIOP_Message_Base.cpp b/TAO/tao/GIOP_Message_Base.cpp
index ff28b42cd9d..888b02eb037 100644
--- a/TAO/tao/GIOP_Message_Base.cpp
+++ b/TAO/tao/GIOP_Message_Base.cpp
@@ -22,22 +22,24 @@ ACE_RCSID (tao,
GIOP_Message_Base,
"$Id$")
-TAO_GIOP_Message_Base::TAO_GIOP_Message_Base (TAO_ORB_Core *orb_core,
- size_t /*input_cdr_size*/)
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+TAO_GIOP_Message_Base::TAO_GIOP_Message_Base (TAO_ORB_Core * orb_core,
+ size_t /* input_cdr_size */)
: orb_core_ (orb_core)
- , message_state_ ()
- , out_stream_ (this->buffer_,
- sizeof this->buffer_, /* ACE_CDR::DEFAULT_BUFSIZE */
- TAO_ENCAP_BYTE_ORDER,
- orb_core->output_cdr_buffer_allocator (),
- orb_core->output_cdr_dblock_allocator (),
- orb_core->output_cdr_msgblock_allocator (),
- orb_core->orb_params ()->cdr_memcpy_tradeoff (),
- TAO_DEF_GIOP_MAJOR,
- TAO_DEF_GIOP_MINOR)
+ , message_state_ ()
+ , out_stream_ (this->buffer_,
+ sizeof this->buffer_, /* ACE_CDR::DEFAULT_BUFSIZE */
+ TAO_ENCAP_BYTE_ORDER,
+ orb_core->output_cdr_buffer_allocator (),
+ orb_core->output_cdr_dblock_allocator (),
+ orb_core->output_cdr_msgblock_allocator (),
+ orb_core->orb_params ()->cdr_memcpy_tradeoff (),
+ TAO_DEF_GIOP_MAJOR,
+ TAO_DEF_GIOP_MINOR)
{
#if defined (ACE_INITIALIZE_MEMORY_BEFORE_USE)
- ACE_OS::memset(buffer_, 0, sizeof (buffer_));
+ ACE_OS::memset (this->buffer_, 0, sizeof (buffer_));
#endif /* ACE_INITIALIZE_MEMORY_BEFORE_USE */
}
@@ -830,11 +832,11 @@ TAO_GIOP_Message_Base::process_request (TAO_Transport *transport,
CORBA::Object_var forward_to;
/*
- * Hook to specialize request processing within TAO
+ * Hook to specialize request processing within TAO
* This hook will be replaced by specialized request
* processing implementation.
*/
-//@@ TAO_DISPATCH_RESOLUTION_OPT_COMMENT_HOOK_START
+//@@ TAO_DISPATCH_RESOLUTION_OPT_COMMENT_HOOK_START
// Do this before the reply is sent.
this->orb_core_->request_dispatcher ()->dispatch (
@@ -1570,8 +1572,8 @@ TAO_GIOP_Message_Base::fragment_header_length (CORBA::Octet major,
void
TAO_GIOP_Message_Base::init_queued_data (
- TAO_Queued_Data* qd,
- const TAO_GIOP_Message_State& state) const
+ TAO_Queued_Data* qd,
+ const TAO_GIOP_Message_State& state) const
{
qd->byte_order_ = state.byte_order_;
qd->major_version_ = state.giop_version_.major;
@@ -1580,3 +1582,5 @@ TAO_GIOP_Message_Base::init_queued_data (
qd->request_id_ = state.request_id_;
qd->msg_type_ = this->message_type (state);
}
+
+TAO_END_VERSIONED_NAMESPACE_DECL