logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DestinationListHandler - This class handles a list of destination addresses.

Author

       Generated automatically by Doxygen for ccRTP from the source code.

                                                      ccRTP                            DestinationListHandler(3)

Constructor & Destructor Documentation

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

Detailed Description

       This class handles a list of destination addresses.

       Stores network addresses as InetAddress objects.

       Author
           Federico Montesino Pouzols fedemp@altern.org

Member Data Documentation

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

Member Function Documentation

boolDestinationListHandler::addDestinationToList(constInetAddress&ia,tpport_tdata,tpport_tcontrol)[protected]
       Locks the object before modifying it.

   TransportAddress*DestinationListHandler::getFirstDestination()const[inline]boolDestinationListHandler::isSingleDestination()const[inline]
       Get whether there is only a destination in the list.

   voidDestinationListHandler::lockDestinationList()const[inline]boolDestinationListHandler::removeDestinationFromList(constInetAddress&ia,tpport_tdataPort,tpport_tcontrolPort)[protected]
       Locks the object before modifying it.

   voidDestinationListHandler::unlockDestinationList()const[inline]voidDestinationListHandler::writeLockDestinationList()const[inline],[protected]

Name

       DestinationListHandler - This class handles a list of destination addresses.

Synopsis

       #include <oqueue.h>

       Inherited by OutgoingDataQueue [protected].

   Classes
       struct TransportAddressPublicMemberFunctionsDestinationListHandler ()
       ~DestinationListHandler ()
       bool isSingleDestination () const
           Get whether there is only a destination in the list.
       TransportAddress * getFirstDestination () const
       void lockDestinationList () const
       void unlockDestinationList () const

   ProtectedMemberFunctions
       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.

   ProtectedAttributes
       std::list< TransportAddress * > destList

See Also