ccRTP 2.1.2
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
DestinationListHandler Class Reference
Generic RTP output queues.

This class handles a list of destination addresses. More...

#include <oqueue.h>

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

Data Structures

struct   TransportAddress
 

Public Member Functions

 
 
bool  isSingleDestination () const
  Get whether there is only a destination in the list. More...
 
 
void  lockDestinationList () const
 
void  unlockDestinationList () const
 

Protected Member Functions

void  writeLockDestinationList () const
 
bool  addDestinationToList (const InetAddress &ia, tpport_t data, tpport_t control)
  Locks the object before modifying it. More...
 
bool  removeDestinationFromList (const InetAddress &ia, tpport_t dataPort, tpport_t controlPort)
  Locks the object before modifying it. More...
 

Protected Attributes

std::list< TransportAddress * >  destList
 

Private Attributes

ThreadLock  destinationLock
 

Detailed Description

This class handles a list of destination addresses.

Stores network addresses as InetAddress objects.

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

Definition at line 65 of file oqueue.h.

Constructor & Destructor Documentation

DestinationListHandler::DestinationListHandler ( )

Definition at line 51 of file outqueue.cpp.

DestinationListHandler::~DestinationListHandler ( )

Definition at line 55 of file outqueue.cpp.

Member Function Documentation

bool DestinationListHandler::addDestinationToList ( const InetAddress &  ia,
tpport_t  data,
tpport_t  control 
)
protected

Locks the object before modifying it.

Definition at line 74 of file outqueue.cpp.

TransportAddress* DestinationListHandler::getFirstDestination ( ) const
inline

Definition at line 82 of file oqueue.h.

bool DestinationListHandler::isSingleDestination ( ) const
inline

Get whether there is only a destination in the list.

Definition at line 79 of file oqueue.h.

void DestinationListHandler::lockDestinationList ( ) const
inline

Definition at line 85 of file oqueue.h.

bool DestinationListHandler::removeDestinationFromList ( const InetAddress &  ia,
tpport_t  dataPort,
tpport_t  controlPort 
)
protected

Locks the object before modifying it.

Definition at line 85 of file outqueue.cpp.

void DestinationListHandler::unlockDestinationList ( ) const
inline

Definition at line 88 of file oqueue.h.

void DestinationListHandler::writeLockDestinationList ( ) const
inlineprotected

Definition at line 92 of file oqueue.h.

Field Documentation

ThreadLock DestinationListHandler::destinationLock
mutableprivate

Definition at line 130 of file oqueue.h.

std::list<TransportAddress*> DestinationListHandler::destList
protected

Definition at line 68 of file oqueue.h.


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

Generated on Dec 15, 2017 for ccrtp-2.1.2 (*.h and *.cpp) and libzrtpcpp-2.3.4 (*.h), by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /