OpenDDS::DCPS::TransportImpl::AcceptConnectResult Struct Reference

#include <TransportImpl.h>

Collaboration diagram for OpenDDS::DCPS::TransportImpl::AcceptConnectResult:

Collaboration graph
[legend]
List of all members.

Public Types

 ACR_SUCCESS
 ACR_FAILED
enum  Status { ACR_SUCCESS, ACR_FAILED }

Public Member Functions

 AcceptConnectResult (Status ok=ACR_FAILED)
 AcceptConnectResult (DataLink *link)

Public Attributes

bool success_
 If false, the accept or connect has failed and link_ is ignored.
DataLink_rch link_

Detailed Description

Definition at line 126 of file TransportImpl.h.


Member Enumeration Documentation

enum OpenDDS::DCPS::TransportImpl::AcceptConnectResult::Status

Enumerator:
ACR_SUCCESS 
ACR_FAILED 

Definition at line 127 of file TransportImpl.h.

00127 { ACR_SUCCESS, ACR_FAILED };


Constructor & Destructor Documentation

OpenDDS::DCPS::TransportImpl::AcceptConnectResult::AcceptConnectResult ( Status  ok = ACR_FAILED  )  [inline, explicit]

Definition at line 128 of file TransportImpl.h.

00129       : success_(ok == ACR_SUCCESS), link_(0) {}

OpenDDS::DCPS::TransportImpl::AcceptConnectResult::AcceptConnectResult ( DataLink link  )  [inline, explicit]

Definition at line 130 of file TransportImpl.h.

00131       : success_(link), link_(link) {}


Member Data Documentation

DataLink_rch OpenDDS::DCPS::TransportImpl::AcceptConnectResult::link_

If success_ is true, link_ may either be null or have a valid DataLink. If link_ is null the DataLink is not ready for use, and TransportClient::use_datalink() is called later.

Definition at line 137 of file TransportImpl.h.

Referenced by OpenDDS::DCPS::TransportClient::associate(), and OpenDDS::DCPS::TransportClient::PendingAssoc::initiate_connect().

bool OpenDDS::DCPS::TransportImpl::AcceptConnectResult::success_

If false, the accept or connect has failed and link_ is ignored.

Definition at line 133 of file TransportImpl.h.

Referenced by OpenDDS::DCPS::TransportClient::associate(), OpenDDS::DCPS::TransportClient::PendingAssoc::initiate_connect(), and OpenDDS::DCPS::TransportClient::initiate_connect_i().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:31 2016 for OpenDDS by  doxygen 1.4.7