00001 // -*- C++ -*- 00002 // 00003 // $Id: Profile_Transport_Resolver.inl 76092 2006-12-19 22:32:59Z iliyan $ 00004 00005 00006 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00007 00008 namespace TAO 00009 { 00010 ACE_INLINE 00011 Profile_Transport_Resolver::Profile_Transport_Resolver ( 00012 CORBA::Object *p, 00013 TAO_Stub *stub, 00014 bool block) 00015 : obj_ (p) 00016 , stub_ (stub) 00017 , transport_ (0) 00018 , profile_ (0) 00019 , inconsistent_policies_ (0) 00020 , is_released_ (false) 00021 , blocked_ (block) 00022 { 00023 } 00024 00025 ACE_INLINE TAO_Stub * 00026 Profile_Transport_Resolver::stub (void) const 00027 { 00028 return this->stub_; 00029 } 00030 00031 ACE_INLINE CORBA::Object_ptr 00032 Profile_Transport_Resolver::object (void) const 00033 { 00034 return this->obj_; 00035 } 00036 00037 ACE_INLINE TAO_Profile * 00038 Profile_Transport_Resolver::profile (void) const 00039 { 00040 return this->profile_; 00041 } 00042 00043 ACE_INLINE TAO_Transport * 00044 Profile_Transport_Resolver::transport (void) const 00045 { 00046 return this->transport_.get (); 00047 } 00048 00049 ACE_INLINE bool 00050 Profile_Transport_Resolver::blocked_connect (void) const 00051 { 00052 return this->blocked_; 00053 } 00054 00055 ACE_INLINE void 00056 Profile_Transport_Resolver::transport_released (void) const 00057 { 00058 this->is_released_ = true; 00059 } 00060 00061 ACE_INLINE CORBA::PolicyList * 00062 Profile_Transport_Resolver::inconsistent_policies (void) const 00063 { 00064 return this->inconsistent_policies_; 00065 } 00066 00067 ACE_INLINE CORBA::PolicyList * 00068 Profile_Transport_Resolver::steal_inconsistent_policies (void) 00069 { 00070 CORBA::PolicyList *tmp = this->inconsistent_policies_; 00071 this->inconsistent_policies_ = 0; 00072 return tmp; 00073 } 00074 } 00075 00076 TAO_END_VERSIONED_NAMESPACE_DECL