#include <SimpleTcpConnectionReplaceTask.h>
Inheritance diagram for OpenDDS::DCPS::SimpleTcpConnectionReplaceTask:


Public Member Functions | |
| SimpleTcpConnectionReplaceTask (SimpleTcpTransport *trans) | |
| Constructor. | |
| virtual | ~SimpleTcpConnectionReplaceTask () |
| Virtual Destructor. | |
| virtual void | execute (SimpleTcpConnection_rch &con) |
| Handle the request. | |
Private Attributes | |
| SimpleTcpTransport * | trans_ |
This task is dedicated to check if the incoming connections are re-established connection from the remote. This would resolve the deadlock problem between the reactor thread (calling SimpleTcpTransport::passive_connction()) and the orb thread (calling SimpleTcpTransport::make_passive_connction()). The reactor thread will enqueue the new connection to this task and let this task dequeue and check the connection. This task handles all connections associated with a TransportImpl object.
| OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::SimpleTcpConnectionReplaceTask | ( | SimpleTcpTransport * | trans | ) |
Constructor.
| OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::~SimpleTcpConnectionReplaceTask | ( | ) | [virtual] |
Virtual Destructor.
| void OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::execute | ( | SimpleTcpConnection_rch & | con | ) | [virtual] |
Handle the request.
1.4.7