summaryrefslogtreecommitdiff
path: root/TAO/tao/Connection_Handler.inl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
commit3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch)
tree197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/Connection_Handler.inl
parent6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff)
downloadATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tao/Connection_Handler.inl')
-rw-r--r--TAO/tao/Connection_Handler.inl40
1 files changed, 40 insertions, 0 deletions
diff --git a/TAO/tao/Connection_Handler.inl b/TAO/tao/Connection_Handler.inl
new file mode 100644
index 00000000000..5841cf3aebc
--- /dev/null
+++ b/TAO/tao/Connection_Handler.inl
@@ -0,0 +1,40 @@
+// -*- C++ -*-
+//
+//$Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE TAO_ORB_Core *
+TAO_Connection_Handler::orb_core (void)
+{
+ return this->orb_core_;
+}
+
+ACE_INLINE TAO_Transport *
+TAO_Connection_Handler::transport (void)
+{
+ return this->transport_;
+}
+
+ACE_INLINE bool
+TAO_Connection_Handler::is_closed (void) const
+{
+ return (this->state_ == TAO_LF_Event::LFS_CONNECTION_CLOSED ||
+ this->state_ == TAO_LF_Event::LFS_TIMEOUT);
+}
+
+ACE_INLINE bool
+TAO_Connection_Handler::is_open (void) const
+{
+ return this->state_ == TAO_LF_Event::LFS_SUCCESS;
+}
+
+ACE_INLINE bool
+TAO_Connection_Handler::is_connecting (void) const
+{
+ return this->state_ == TAO_LF_Event::LFS_CONNECTION_WAIT;
+}
+
+//@@ CONNECTION_HANDLER_SPL_METHODS_ADD_HOOK
+
+TAO_END_VERSIONED_NAMESPACE_DECL