00001 // -*- C++ -*- 00002 // 00003 //Connection_Handler.inl,v 1.29 2005/11/24 11:05:44 ossama Exp 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE TAO_ORB_Core * 00008 TAO_Connection_Handler::orb_core (void) 00009 { 00010 return this->orb_core_; 00011 } 00012 00013 ACE_INLINE TAO_Transport * 00014 TAO_Connection_Handler::transport (void) 00015 { 00016 return this->transport_; 00017 } 00018 00019 ACE_INLINE bool 00020 TAO_Connection_Handler::is_closed (void) const 00021 { 00022 return (this->state_ == TAO_LF_Event::LFS_CONNECTION_CLOSED || 00023 this->state_ == TAO_LF_Event::LFS_TIMEOUT); 00024 } 00025 00026 ACE_INLINE bool 00027 TAO_Connection_Handler::is_open (void) const 00028 { 00029 return this->state_ == TAO_LF_Event::LFS_SUCCESS; 00030 } 00031 00032 ACE_INLINE bool 00033 TAO_Connection_Handler::is_connecting (void) const 00034 { 00035 return this->state_ == TAO_LF_Event::LFS_CONNECTION_WAIT; 00036 } 00037 00038 //@@ CONNECTION_HANDLER_SPL_METHODS_ADD_HOOK 00039 00040 TAO_END_VERSIONED_NAMESPACE_DECL