Bind_Dispatcher_Guard.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Bind_Dispatcher_Guard.i,v 1.6 2006/04/19 08:30:49 jwillemsen Exp
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 (int s)
00023 {
00024   this->status_ = s;
00025 }
00026 
00027 ACE_INLINE int
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 Thu Nov 9 11:54:08 2006 for TAO by doxygen 1.3.6