Bayonne2 / Common C++ 2 Framework
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

 

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 68 of file oqueue.h.

Constructor & Destructor Documentation

DestinationListHandler::DestinationListHandler ( )
DestinationListHandler::~DestinationListHandler ( )

Member Function Documentation

bool DestinationListHandler::addDestinationToList ( const InetAddressia,
tpport_t  data,
tpport_t  control 
)
protected

Locks the object before modifying it.

TransportAddress* DestinationListHandler::getFirstDestination ( ) const
inline

Definition at line 85 of file oqueue.h.

bool DestinationListHandler::isSingleDestination ( ) const
inline

Get whether there is only a destination in the list.

Definition at line 82 of file oqueue.h.

void DestinationListHandler::lockDestinationList ( ) const
inline

Definition at line 88 of file oqueue.h.

bool DestinationListHandler::removeDestinationFromList ( const InetAddressia,
tpport_t  dataPort,
tpport_t  controlPort 
)
protected

Locks the object before modifying it.

void DestinationListHandler::unlockDestinationList ( ) const
inline

Definition at line 91 of file oqueue.h.

void DestinationListHandler::writeLockDestinationList ( ) const
inlineprotected

Definition at line 95 of file oqueue.h.

Field Documentation

ThreadLock DestinationListHandler::destinationLock
mutableprivate

Definition at line 133 of file oqueue.h.

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

Definition at line 71 of file oqueue.h.


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

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

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