diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-07-17 00:42:56 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-07-17 00:42:56 +0000 |
commit | 8ffc834b5ff7d9169f462db009f2286606e4cfce (patch) | |
tree | ff61f3e3f109693e192682617a74e76ca5cfab6e /TAO/tao/Strategies | |
parent | cb39d12e7aef10ba13466fc2579bd865ddbfd465 (diff) | |
download | ATCD-8ffc834b5ff7d9169f462db009f2286606e4cfce.tar.gz |
*** empty log message ***giop_lite_fragment
Diffstat (limited to 'TAO/tao/Strategies')
-rw-r--r-- | TAO/tao/Strategies/DIOP_Transport.cpp | 8 | ||||
-rw-r--r-- | TAO/tao/Strategies/SHMIOP_Transport.cpp | 5 | ||||
-rw-r--r-- | TAO/tao/Strategies/UIOP_Transport.cpp | 6 |
3 files changed, 9 insertions, 10 deletions
diff --git a/TAO/tao/Strategies/DIOP_Transport.cpp b/TAO/tao/Strategies/DIOP_Transport.cpp index 1e74bc6f5f1..002a77ba345 100644 --- a/TAO/tao/Strategies/DIOP_Transport.cpp +++ b/TAO/tao/Strategies/DIOP_Transport.cpp @@ -20,7 +20,7 @@ #include "tao/debug.h" #include "tao/Resume_Handle.h" #include "tao/GIOP_Message_Base.h" -// #include "tao/GIOP_Message_Lite.h" +#include "tao/GIOP_Message_Lite.h" #if !defined (__ACE_INLINE__) # include "DIOP_Transport.i" @@ -30,7 +30,7 @@ ACE_RCSID (tao, DIOP_Transport, "$Id$") TAO_DIOP_Transport::TAO_DIOP_Transport (TAO_DIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core, - CORBA::Boolean /*flag*/) + CORBA::Boolean flag) : TAO_Transport (TAO_TAG_UDP_PROFILE, orb_core) , connection_handler_ (handler) @@ -38,14 +38,14 @@ TAO_DIOP_Transport::TAO_DIOP_Transport (TAO_DIOP_Connection_Handler *handler, { // @@ Michael: Set the input CDR size to ACE_MAX_DGRAM_SIZE so that // we read the whole UDP packet on a single read. - /* if (flag) + if (flag) { // Use the lite version of the protocol ACE_NEW (this->messaging_object_, TAO_GIOP_Message_Lite (orb_core, ACE_MAX_DGRAM_SIZE)); } - else*/ + else { // Use the normal GIOP object ACE_NEW (this->messaging_object_, diff --git a/TAO/tao/Strategies/SHMIOP_Transport.cpp b/TAO/tao/Strategies/SHMIOP_Transport.cpp index 0b333e0c566..6284a64ad71 100644 --- a/TAO/tao/Strategies/SHMIOP_Transport.cpp +++ b/TAO/tao/Strategies/SHMIOP_Transport.cpp @@ -17,6 +17,7 @@ #include "tao/debug.h" #include "tao/Resume_Handle.h" #include "tao/GIOP_Message_Base.h" +#include "tao/GIOP_Message_Lite.h" #if !defined (__ACE_INLINE__) @@ -27,13 +28,12 @@ ACE_RCSID (Strategies, SHMIOP_Transport, "$Id$") TAO_SHMIOP_Transport::TAO_SHMIOP_Transport (TAO_SHMIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core, - CORBA::Boolean /*flag*/) + CORBA::Boolean flag) : TAO_Transport (TAO_TAG_SHMEM_PROFILE, orb_core), connection_handler_ (handler), messaging_object_ (0) { -#if 0 if (flag) { // Use the lite version of the protocol @@ -41,7 +41,6 @@ TAO_SHMIOP_Transport::TAO_SHMIOP_Transport (TAO_SHMIOP_Connection_Handler *handl TAO_GIOP_Message_Lite (orb_core)); } else -#endif /*#if 0 */ { // Use the normal GIOP object ACE_NEW (this->messaging_object_, diff --git a/TAO/tao/Strategies/UIOP_Transport.cpp b/TAO/tao/Strategies/UIOP_Transport.cpp index 1f8f6dc86d0..2baf994c1ac 100644 --- a/TAO/tao/Strategies/UIOP_Transport.cpp +++ b/TAO/tao/Strategies/UIOP_Transport.cpp @@ -27,19 +27,19 @@ ACE_RCSID (Strategies, UIOP_Transport, "$Id$") TAO_UIOP_Transport::TAO_UIOP_Transport (TAO_UIOP_Connection_Handler *handler, TAO_ORB_Core *orb_core, - CORBA::Boolean /*flag*/) + CORBA::Boolean flag) : TAO_Transport (TAO_TAG_UIOP_PROFILE, orb_core) , connection_handler_ (handler) , messaging_object_ (0) { - /* if (flag) + if (flag) { // Use the lite version of the protocol ACE_NEW (this->messaging_object_, TAO_GIOP_Message_Lite (orb_core)); } - else*/ + else { // Use the normal GIOP object ACE_NEW (this->messaging_object_, |