diff options
author | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-09 20:44:50 +0000 |
---|---|---|
committer | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-09 20:44:50 +0000 |
commit | 5f6e5141868fa43a7bef223a77067aec6ace18a2 (patch) | |
tree | 7a0f904556f39057d5fac34b63c51b731786804f /TAO/tao/GIOP_Message_Lite.cpp | |
parent | cb766fb6df9d0217f395a8ca7e396e7f6458d24e (diff) | |
download | ATCD-5f6e5141868fa43a7bef223a77067aec6ace18a2.tar.gz |
ChangeLogTag: Mon Apr 9 15:45:00 2001 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'TAO/tao/GIOP_Message_Lite.cpp')
-rw-r--r-- | TAO/tao/GIOP_Message_Lite.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/GIOP_Message_Lite.cpp b/TAO/tao/GIOP_Message_Lite.cpp index 182b8033dbd..34befd9fa41 100644 --- a/TAO/tao/GIOP_Message_Lite.cpp +++ b/TAO/tao/GIOP_Message_Lite.cpp @@ -20,7 +20,8 @@ static const size_t TAO_GIOP_LITE_HEADER_LEN = 5; static const size_t TAO_GIOP_LITE_MESSAGE_SIZE_OFFSET = 0; static const size_t TAO_GIOP_LITE_MESSAGE_TYPE_OFFSET = 4; -TAO_GIOP_Message_Lite::TAO_GIOP_Message_Lite (TAO_ORB_Core *orb_core) +TAO_GIOP_Message_Lite::TAO_GIOP_Message_Lite (TAO_ORB_Core *orb_core, + size_t input_cdr_size) :message_state_ (orb_core), output_ (0), cdr_buffer_alloc_ ( @@ -29,7 +30,7 @@ TAO_GIOP_Message_Lite::TAO_GIOP_Message_Lite (TAO_ORB_Core *orb_core) cdr_dblock_alloc_ ( orb_core->resource_factory ()->output_cdr_dblock_allocator () ), - input_cdr_ (orb_core->create_input_cdr_data_block (ACE_CDR::DEFAULT_BUFSIZE), + input_cdr_ (orb_core->create_input_cdr_data_block (input_cdr_size), TAO_ENCAP_BYTE_ORDER, orb_core), current_offset_ (0) |