Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
ConflictHandler Class Reference

To track addresses of sources conflicting with the local one. More...

#include <iqueue.h>

Inheritance diagram for ConflictHandler:
Inheritance graph
[legend]
Collaboration diagram for ConflictHandler:
Collaboration graph
[legend]

Data Structures

struct  ConflictingTransportAddress
 

Public Member Functions

ConflictingTransportAddresssearchDataConflict (InetAddress na, tpport_t dtp)
 
ConflictingTransportAddresssearchControlConflict (InetAddress na, tpport_t ctp)
 
void updateConflict (ConflictingTransportAddress &ca)
 
void addConflict (const InetAddress &na, tpport_t dtp, tpport_t ctp)
 

Protected Member Functions

 ConflictHandler ()
 
virtual ~ConflictHandler ()
 

Protected Attributes

ConflictingTransportAddressfirstConflict
 
ConflictingTransportAddresslastConflict
 

Detailed Description

To track addresses of sources conflicting with the local one.

Author
Federico Montesino Pouzols fedem.nosp@m.p@al.nosp@m.tern..nosp@m.org

Definition at line 235 of file iqueue.h.

Constructor & Destructor Documentation

ConflictHandler::ConflictHandler ( )
inlineprotected

Definition at line 282 of file iqueue.h.

virtual ConflictHandler::~ConflictHandler ( )
inlineprotectedvirtual

Definition at line 285 of file iqueue.h.

Member Function Documentation

void ConflictHandler::addConflict ( const InetAddress na,
tpport_t  dtp,
tpport_t  ctp 
)
ConflictingTransportAddress* ConflictHandler::searchControlConflict ( InetAddress  na,
tpport_t  ctp 
)
Parameters
naInet network address.
ctpData transport port.
ConflictingTransportAddress* ConflictHandler::searchDataConflict ( InetAddress  na,
tpport_t  dtp 
)
Parameters
naInet network address.
dtpData transport port.
void ConflictHandler::updateConflict ( ConflictingTransportAddress ca)
inline

Definition at line 276 of file iqueue.h.

Field Documentation

ConflictingTransportAddress* ConflictHandler::firstConflict
protected

Definition at line 288 of file iqueue.h.

ConflictingTransportAddress * ConflictHandler::lastConflict
protected

Definition at line 288 of file iqueue.h.


The documentation for this class was generated from the following file: