diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-12-04 17:52:33 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-12-04 17:52:33 +0000 |
commit | bbb2232000d8387fc7d3e6293e99036f81eb3633 (patch) | |
tree | 56c22ba0ca9c254cf386805f514624b8bfb36b0e | |
parent | 1fbf26eaf1d03e9561dbf342c481a977798c47c2 (diff) | |
download | ATCD-bbb2232000d8387fc7d3e6293e99036f81eb3633.tar.gz |
ChangeLogTag: Wed Dec 4 12:50:39 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/tao/Connection_Handler.h | 5 | ||||
-rw-r--r-- | TAO/tao/Connection_Handler.inl | 9 |
3 files changed, 22 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 074a4205503..ce262db667a 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Wed Dec 4 12:50:39 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu> + + * tao/Connection_Handler.h: + * tao/Connection_Handler.cpp: Added a new method is_finalized () + which returns whether the connection handler has reached its + final state or not. + + Wed Dec 4 12:24:52 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu> * tao/LF_CH_Event.h (TAO_LF_CH_Event): Made the call is_state_final () diff --git a/TAO/tao/Connection_Handler.h b/TAO/tao/Connection_Handler.h index 81e7f7a2887..4b23745d56c 100644 --- a/TAO/tao/Connection_Handler.h +++ b/TAO/tao/Connection_Handler.h @@ -60,12 +60,17 @@ public: /// Set the underlying transport object void transport (TAO_Transport* transport); +# if 0 + /// NOTE: NO longer used /// Did the process of non-blocking connection initialization /// complete? int is_connect_complete (void) const; /// Was the non-blocking connection initialization successful? int is_connect_successful (void) const; +#endif /*if 0*/ + /// Is the state final? + int is_finalized (void); /// Increment and decrement the refcount. The object is deleted when /// the refcount reaches zero. diff --git a/TAO/tao/Connection_Handler.inl b/TAO/tao/Connection_Handler.inl index 5c1df839f72..7de61103ad9 100644 --- a/TAO/tao/Connection_Handler.inl +++ b/TAO/tao/Connection_Handler.inl @@ -20,6 +20,8 @@ TAO_Connection_Handler::transport (void) return this->transport_; } +#if 0 +// NOTE: Not used ACE_INLINE int TAO_Connection_Handler::is_connect_complete (void) const { @@ -31,3 +33,10 @@ TAO_Connection_Handler::is_connect_successful (void) const { return (this->error_detected () == 0); } +#endif /*if 0*/ + +ACE_INLINE int +TAO_Connection_Handler::is_finalized (void) +{ + return this->is_state_final (); +} |