OpenDDS::DCPS::SimpleTcpConnectionReplaceTask Class Reference

Active Object managing a queue of connection info objects. More...

#include <SimpleTcpConnectionReplaceTask.h>

Inheritance diagram for OpenDDS::DCPS::SimpleTcpConnectionReplaceTask:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::SimpleTcpConnectionReplaceTask:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SimpleTcpConnectionReplaceTask (SimpleTcpTransport *trans)
 Constructor.
virtual ~SimpleTcpConnectionReplaceTask ()
 Virtual Destructor.
virtual void execute (SimpleTcpConnection_rch &con)
 Handle the request.

Private Attributes

SimpleTcpTransporttrans_

Detailed Description

Active Object managing a queue of connection info objects.

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.


Constructor & Destructor Documentation

OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::SimpleTcpConnectionReplaceTask ( SimpleTcpTransport trans  ) 

Constructor.

OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::~SimpleTcpConnectionReplaceTask (  )  [virtual]

Virtual Destructor.


Member Function Documentation

void OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::execute ( SimpleTcpConnection_rch con  )  [virtual]

Handle the request.


Member Data Documentation

SimpleTcpTransport* OpenDDS::DCPS::SimpleTcpConnectionReplaceTask::trans_ [private]


The documentation for this class was generated from the following files:
Generated on Fri Nov 7 09:37:48 2008 for OpenDDS by  doxygen 1.4.7