
Public Member Functions | |
| TransportCleanupGuard (TAO_Transport *tp) | |
| ~TransportCleanupGuard () | |
| void | down () |
| Turn off the guard. | |
Private Attributes | |
| TAO_Transport *const | tp_ |
| bool | awake_ |
|
|
Definition at line 36 of file Transport_Connector.cpp.
|
|
|
Definition at line 42 of file Transport_Connector.cpp. References awake_, TAO_Transport::close_connection(), TAO_Transport::purge_entry(), TAO_Transport::remove_reference(), and tp_.
00043 {
00044 if (this->awake_ && this->tp_)
00045 {
00046 // Purge from the connection cache. If we are not in the
00047 // cache, this does nothing.
00048 this->tp_->purge_entry ();
00049
00050 // Close the handler.
00051 this->tp_->close_connection ();
00052
00053 this->tp_->remove_reference ();
00054 }
00055 }
|
|
|
Turn off the guard.
Definition at line 58 of file Transport_Connector.cpp. References awake_. Referenced by TAO_Connector::connect().
00059 {
00060 this->awake_ = false;
00061 }
|
|
|
Definition at line 66 of file Transport_Connector.cpp. Referenced by down(), TransportCleanupGuard(), and ~TransportCleanupGuard(). |
|
|
Definition at line 65 of file Transport_Connector.cpp. Referenced by TransportCleanupGuard(), and ~TransportCleanupGuard(). |
1.3.6