Endpoint.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Endpoint.i,v 1.5 2005/11/02 07:13:02 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 TAO_Endpoint::TAO_Endpoint (CORBA::ULong tag,
00009                             CORBA::Short priority)
00010   : addr_lookup_lock_ ()
00011   // @@ Would be a tragedy if the hash value of this endpoint is 0, in
00012   //    which case this optimizaton wouldn't work. We can get around
00013   //    that using a bool. But we don't want to increase the runtime
00014   //    memory.
00015   , hash_val_ (0)
00016   , tag_ (tag)
00017   , priority_ (priority)
00018 
00019 {
00020 }
00021 
00022 ACE_INLINE CORBA::ULong
00023 TAO_Endpoint::tag (void) const
00024 {
00025   return this->tag_;
00026 }
00027 
00028 ACE_INLINE CORBA::Short
00029 TAO_Endpoint::priority (void) const
00030 {
00031   return this->priority_;
00032 }
00033 
00034 ACE_INLINE void
00035 TAO_Endpoint::priority (CORBA::Short p)
00036 {
00037   this->priority_ = p;
00038 }
00039 
00040 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:11 2006 for TAO by doxygen 1.3.6