diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-07-31 12:10:25 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-07-31 12:10:25 +0000 |
commit | 0d97018198aa6d83245402002887444581fb372f (patch) | |
tree | 1f10fe690527780c1483ede50bdae500111880f6 /TAO/tao/Connection_Handler.inl | |
parent | 9d9972e600d0c46c87b2915687c901eaf8b4c3da (diff) | |
download | ATCD-0d97018198aa6d83245402002887444581fb372f.tar.gz |
ChangeLogTag: Tue Jul 31 06:58:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Connection_Handler.inl')
-rw-r--r-- | TAO/tao/Connection_Handler.inl | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/TAO/tao/Connection_Handler.inl b/TAO/tao/Connection_Handler.inl index 1be59aafb4b..49ac55ad5b8 100644 --- a/TAO/tao/Connection_Handler.inl +++ b/TAO/tao/Connection_Handler.inl @@ -10,19 +10,6 @@ TAO_Connection_Handler::TAO_Connection_Handler (void) { } -/*ACE_INLINE CORBA::Boolean -TAO_Connection_Handler::is_registered (void) -{ - return this->is_registered_; -} - -ACE_INLINE void -TAO_Connection_Handler::is_registered (CORBA::Boolean flag) -{ - this->is_registered_ = flag; -} -*/ - ACE_INLINE TAO_ORB_Core * TAO_Connection_Handler::orb_core (void) { @@ -40,3 +27,32 @@ TAO_Connection_Handler::transport (void) { return this->transport_; } + + +ACE_INLINE int +TAO_Connection_Handler::incr_pending_upcalls (void) +{ + ACE_GUARD_RETURN (ACE_Lock, + ace_mon, + *this->pending_upcall_lock_, -1); + + return ++this->pending_upcalls_; + + +} + +ACE_INLINE int +TAO_Connection_Handler::decr_pending_upcalls (void) +{ + ACE_GUARD_RETURN (ACE_Lock, + ace_mon, + *this->pending_upcall_lock_, -1); + + return --this->pending_upcalls_; +} + +ACE_INLINE int +TAO_Connection_Handler::pending_upcalls (void) const +{ + return this->pending_upcalls_; +} |