Bind_Dispatcher_Guard.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Bind_Dispatcher_Guard.inl 80288 2007-12-17 20:05:04Z johnnyw $
00004 
00005 // ===========================================================================
00006 //
00007 // = LIBRARY
00008 //     TAO
00009 //
00010 // = AUTHOR
00011 //     Carlos O'Ryan <coryan@uci.edu>,
00012 //     Chad Elliott <elliott_c@ociweb.com>
00013 //
00014 // ===========================================================================
00015 
00016 #include "tao/Reply_Dispatcher.h"
00017 #include "tao/Transport_Mux_Strategy.h"
00018 
00019 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00020 
00021 ACE_INLINE void
00022 TAO_Bind_Dispatcher_Guard::status (TAO_Bind_Dispatcher_Status s)
00023 {
00024   this->status_ = s;
00025 }
00026 
00027 ACE_INLINE TAO_Bind_Dispatcher_Guard::TAO_Bind_Dispatcher_Status
00028 TAO_Bind_Dispatcher_Guard::status (void) const
00029 {
00030   return this->status_;
00031 }
00032 
00033 ACE_INLINE int
00034 TAO_Bind_Dispatcher_Guard::unbind_dispatcher (void)
00035 {
00036   int const retval =
00037     this->tms_->unbind_dispatcher (this->request_id_);
00038 
00039   // Already unbound and so do not try again during destruction.
00040   this->status_ =
00041     TAO_Bind_Dispatcher_Guard::NO_UNBIND;
00042 
00043   return retval;
00044 }
00045 
00046 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:37:51 2010 for TAO by  doxygen 1.4.7