ccRTP
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ConflictHandler Class Reference

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

#include <iqueue.h>

Inheritance diagram for ConflictHandler:
MembershipBookkeeping IncomingDataQueue RTPDataQueue QueueRTCPManager RTPDuplex AVPQueue TRTPSessionBase< RTPDataChannel, RTCPChannel, ServiceQueue > TRTPSessionBase< DualRTPUDPIPv4Channel, DualRTPUDPIPv4Channel, AVPQueue > SingleThreadRTPSession< RTPDataChannel, RTCPChannel, ServiceQueue >

Classes

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

Constructor & Destructor Documentation

◆ ConflictHandler()

ConflictHandler::ConflictHandler ( )
inlineprotected

◆ ~ConflictHandler()

virtual ConflictHandler::~ConflictHandler ( )
inlineprotectedvirtual

Member Function Documentation

◆ addConflict()

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

◆ searchControlConflict()

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

◆ searchDataConflict()

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

◆ updateConflict()

void ConflictHandler::updateConflict ( ConflictingTransportAddress ca)
inline

Member Data Documentation

◆ firstConflict

ConflictingTransportAddress* ConflictHandler::firstConflict
protected

◆ lastConflict

ConflictingTransportAddress * ConflictHandler::lastConflict
protected

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