diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-01-11 13:05:31 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-01-11 13:05:31 +0000 |
commit | 9022c08c4c217c18db479a52872f8de0d6c79d1c (patch) | |
tree | 927039f81e53ee33923efe3337eceff40c1a89c5 /TAO/tao/IIOP_Transport.cpp | |
parent | f4bcfe6fdd17319b0738142cfe344dd6324d4f29 (diff) | |
download | ATCD-9022c08c4c217c18db479a52872f8de0d6c79d1c.tar.gz |
*** empty log message ***optimization
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r-- | TAO/tao/IIOP_Transport.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp index d52971418ae..11ab646bac4 100644 --- a/TAO/tao/IIOP_Transport.cpp +++ b/TAO/tao/IIOP_Transport.cpp @@ -169,12 +169,13 @@ TAO_IIOP_Transport::read_process_message (ACE_Time_Value *max_wait_time, return result; // Now we know that we have been able to read the complete message - // here.. - result = 2; // Dummy - while (result > 1) + // here.. We loop here to see whether we have read more than one + // message in our read. + do { result = this->process_message (); } + while (result > 1); return result; } @@ -475,8 +476,6 @@ TAO_IIOP_Transport::process_message (void) return -1; } - // this->messaging_object_->reset (); - return this->messaging_object_->more_messages (); } |