#include <Bind_Dispatcher_Guard.h>

Public Types | |
| enum | TAO_Bind_Dispatcher_Status { UNBIND = 0, NO_UNBIND } |
State information. More... | |
Public Member Functions | |
| TAO_Bind_Dispatcher_Guard (CORBA::ULong request_id, TAO_Reply_Dispatcher *rd, TAO_Transport_Mux_Strategy *tms) | |
| ~TAO_Bind_Dispatcher_Guard (void) | |
| int | unbind_dispatcher (void) |
| Returns 0 if succesful and non-zero otherwise. | |
| TAO_Bind_Dispatcher_Status | status (void) const |
| Get status. | |
| void | status (TAO_Bind_Dispatcher_Status status) |
| Set status. | |
Private Attributes | |
| TAO_Bind_Dispatcher_Status | status_ |
| CORBA::ULong | request_id_ |
| TAO_Transport_Mux_Strategy * | tms_ |
Definition at line 27 of file Bind_Dispatcher_Guard.h.
State information.
Definition at line 40 of file Bind_Dispatcher_Guard.h.
| TAO_Bind_Dispatcher_Guard::TAO_Bind_Dispatcher_Guard | ( | CORBA::ULong | request_id, | |
| TAO_Reply_Dispatcher * | rd, | |||
| TAO_Transport_Mux_Strategy * | tms | |||
| ) |
| TAO_Bind_Dispatcher_Guard::~TAO_Bind_Dispatcher_Guard | ( | void | ) |
Definition at line 30 of file Bind_Dispatcher_Guard.cpp.
00031 { 00032 // We try unbinding. If it works it works, else cant do much about 00033 // it.. 00034 if (this->status_ == TAO_Bind_Dispatcher_Guard::UNBIND) 00035 (void)this->tms_->unbind_dispatcher (this->request_id_); 00036 }
| void TAO_Bind_Dispatcher_Guard::status | ( | TAO_Bind_Dispatcher_Status | status | ) |
Set status.
Definition at line 22 of file Bind_Dispatcher_Guard.inl.
00023 { 00024 this->status_ = s; 00025 }
| TAO_Bind_Dispatcher_Guard::TAO_Bind_Dispatcher_Status TAO_Bind_Dispatcher_Guard::status | ( | void | ) | const |
Get status.
Definition at line 28 of file Bind_Dispatcher_Guard.inl.
00029 { 00030 return this->status_; 00031 }
| int TAO_Bind_Dispatcher_Guard::unbind_dispatcher | ( | void | ) |
Returns 0 if succesful and non-zero otherwise.
Definition at line 34 of file Bind_Dispatcher_Guard.inl.
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 }
Definition at line 56 of file Bind_Dispatcher_Guard.h.
Definition at line 55 of file Bind_Dispatcher_Guard.h.
Definition at line 57 of file Bind_Dispatcher_Guard.h.
1.6.1