diff options
Diffstat (limited to 'TAO/tao/Queued_Message.inl')
-rw-r--r-- | TAO/tao/Queued_Message.inl | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/TAO/tao/Queued_Message.inl b/TAO/tao/Queued_Message.inl index 4a32424ca18..501ae013eac 100644 --- a/TAO/tao/Queued_Message.inl +++ b/TAO/tao/Queued_Message.inl @@ -1,15 +1,13 @@ // $Id$ -ACE_INLINE ACE_Message_Block * -TAO_Queued_Message::mb (void) const -{ - return this->current_block_; -} - ACE_INLINE int TAO_Queued_Message::done (void) const { - return this->current_block_ == 0; + // @@ Actually we should have a status() method that returns not + // only if there is more data, but also indicates if there was a + // failure. + return (this->data_sent_successfully_ == 1 + || this->connection_closed_ == 1); } ACE_INLINE TAO_Queued_Message * |