GIOP_Message_Base.cpp File Reference

#include "tao/GIOP_Message_Base.h"
#include "tao/operation_details.h"
#include "tao/debug.h"
#include "tao/ORB_Core.h"
#include "tao/TAO_Server_Request.h"
#include "tao/GIOP_Message_Locate_Header.h"
#include "tao/Transport.h"
#include "tao/Transport_Mux_Strategy.h"
#include "tao/LF_Strategy.h"
#include "tao/Request_Dispatcher.h"
#include "tao/Codeset_Manager.h"
#include "tao/SystemException.h"
#include "tao/ZIOP_Adapter.h"
#include "ace/Min_Max.h"
Include dependency graph for GIOP_Message_Base.cpp:

Go to the source code of this file.

Functions

 ACE_RCSID (tao, GIOP_Message_Base,"$Id: GIOP_Message_Base.cpp 85436 2009-05-25 21:57:28Z coryan $") 1 TAO_GIOP_Message_Base

Function Documentation

ACE_RCSID ( tao  ,
GIOP_Message_Base  ,
"$Id: GIOP_Message_Base.cpp 85436 2009-05-25 21:57:28Z coryan $"   
)

Definition at line 23 of file GIOP_Message_Base.cpp.

00025                : GIOP_Message_Base.cpp 85436 2009-05-25 21:57:28Z coryan $")
00026 
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028 
00029 TAO_GIOP_Message_Base::TAO_GIOP_Message_Base (TAO_ORB_Core *orb_core,
00030                                               TAO_Transport *transport,
00031                                               size_t input_cdr_size)
00032   : orb_core_ (orb_core)
00033   , fragmentation_strategy_ (orb_core->fragmentation_strategy (transport))
00034   , out_stream_ (0,
00035                  input_cdr_size,
00036                  TAO_ENCAP_BYTE_ORDER,
00037                  orb_core->output_cdr_buffer_allocator (),
00038                  orb_core->output_cdr_dblock_allocator (),
00039                  orb_core->output_cdr_msgblock_allocator (),
00040                  orb_core->orb_params ()->cdr_memcpy_tradeoff (),
00041                  fragmentation_strategy_.get (),
00042                  TAO_DEF_GIOP_MAJOR,
00043                  TAO_DEF_GIOP_MINOR)
00044 {
00045 #if defined (TAO_HAS_MONITOR_POINTS) && (TAO_HAS_MONITOR_POINTS == 1)
00046   const int nibbles = 2 * sizeof (size_t);
00047   char hex_string[nibbles + 1];
00048   ACE_OS::sprintf (hex_string,
00049                    "%8.8X",
00050                    transport->id ());
00051   hex_string[nibbles] = '\0';
00052   ACE_CString monitor_name ("OutputCDR_");
00053   monitor_name += hex_string;
00054   this->out_stream_.register_monitor (monitor_name.c_str ());
00055 #endif /* TAO_HAS_MONITOR_POINTS==1 */
00056 }

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sat Nov 21 23:26:39 2009 for TAO by  doxygen 1.6.1