ost::DestinationListHandler Class Reference
[Generic RTP output queues.Generic RTP output queues.]

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

#include <oqueue.h>

Inheritance diagram for ost::DestinationListHandler:

ost::OutgoingDataQueue ost::RTPDataQueue ost::QueueRTCPManager ost::RTPDuplex ost::AVPQueue List of all members.

Public Member Functions

 DestinationListHandler ()
 ~DestinationListHandler ()
bool isSingleDestination () const
 Get whether there is only a destination in the list.
TransportAddressgetFirstDestination () const
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.
bool removeDestinationFromList (const InetAddress &ia, tpport_t dataPort, tpport_t controlPort)
 Locks the object before modifying it.

Protected Attributes

std::list< TransportAddress * > destList

Classes

struct  TransportAddress

Detailed Description

This class handles a list of destination addresses.

Stores network addresses as InetAddress objects.

Author:
Federico Montesino Pouzols <fedemp@altern.org>


Constructor & Destructor Documentation

ost::DestinationListHandler::DestinationListHandler  ) 
 

ost::DestinationListHandler::~DestinationListHandler  ) 
 


Member Function Documentation

bool ost::DestinationListHandler::addDestinationToList const InetAddress &  ia,
tpport_t  data,
tpport_t  control
[protected]
 

Locks the object before modifying it.

TransportAddress* ost::DestinationListHandler::getFirstDestination  )  const [inline]
 

bool ost::DestinationListHandler::isSingleDestination  )  const [inline]
 

Get whether there is only a destination in the list.

void ost::DestinationListHandler::lockDestinationList  )  const [inline]
 

bool ost::DestinationListHandler::removeDestinationFromList const InetAddress &  ia,
tpport_t  dataPort,
tpport_t  controlPort
[protected]
 

Locks the object before modifying it.

void ost::DestinationListHandler::unlockDestinationList  )  const [inline]
 

void ost::DestinationListHandler::writeLockDestinationList  )  const [inline, protected]
 


Member Data Documentation

std::list<TransportAddress*> ost::DestinationListHandler::destList [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 6 09:03:06 2006 for Bayonne Framework by  doxygen 1.4.6