ccRTP 2.1.2
 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 232 of file iqueue.h.

Constructor & Destructor Documentation

ConflictHandler::ConflictHandler ( )
inlineprotected

Definition at line 279 of file iqueue.h.

virtual ConflictHandler::~ConflictHandler ( )
inlineprotectedvirtual

Definition at line 282 of file iqueue.h.

Member Function Documentation

void ConflictHandler::addConflict ( const InetAddress &  na,
tpport_t  dtp,
tpport_t  ctp 
)

Definition at line 75 of file incqueue.cpp.

ConflictHandler::ConflictingTransportAddress * ConflictHandler::searchControlConflict ( InetAddress  na,
tpport_t  ctp 
)
Parameters
naInet network address.
ctpData transport port.

Definition at line 64 of file incqueue.cpp.

ConflictHandler::ConflictingTransportAddress * ConflictHandler::searchDataConflict ( InetAddress  na,
tpport_t  dtp 
)
Parameters
naInet network address.
dtpData transport port.

Definition at line 54 of file incqueue.cpp.

void ConflictHandler::updateConflict ( ConflictingTransportAddress ca)
inline

Definition at line 273 of file iqueue.h.

Field Documentation

ConflictingTransportAddress* ConflictHandler::firstConflict
protected

Definition at line 285 of file iqueue.h.

ConflictingTransportAddress * ConflictHandler::lastConflict
protected

Definition at line 285 of file iqueue.h.


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