DestinationListHandler(3)
π DestinationListHandler(3) π
okay bestie, gather round, because we're diving into the Library Functions Manual and this one is a whole mood. It's DestinationListHandler, and no cap, it's giving "the girl who keeps track of everyone's addresses so nothing gets lost." π
β¨ NAME β¨
DestinationListHandler β this class handles a list of destination addresses. that's it, that's the girl. π
πΈ SYNOPSIS πΈ
#include <oqueue.h>
Inherited by OutgoingDataQueue [protected].
lowkey important: this one got inherited, so it's basically the blueprint, the origin story, the blueprint queen. π
π¦ Classes
struct TransportAddress
π«Ά Public Member Functions
DestinationListHandler ()~DestinationListHandler ()bool isSingleDestination () constβ get whether there is only a destination in the list. like, is it just the one? just one lil guy? πTransportAddress * getFirstDestination () constvoid lockDestinationList () constvoid unlockDestinationList () const
π Protected Member Functions
void writeLockDestinationList () constbool addDestinationToList (const InetAddress &ia, tpport_t data, tpport_t control)β locks the object before modifying it. safety first, always. πbool removeDestinationFromList (const InetAddress &ia, tpport_t dataPort, tpport_t controlPort)β locks the object before modifying it. same energy, but for removing. βοΈ
π Protected Attributes
std::list< TransportAddress * > destList
β Detailed Description β
This class handles a list of destination addresses. yes, literally the whole point, and it eats every single time. π₯
Stores network addresses as InetAddress objects. so cute, so organized, so on top of things.
π§ Author
Federico Montesino Pouzols fedemp@altern.org
π Constructor & Destructor Documentation π
DestinationListHandler::DestinationListHandler ()
DestinationListHandler::~DestinationListHandler ()
the birth and the departure. iconic from start to finish, honestly. π«
π Member Function Documentation π
bool DestinationListHandler::addDestinationToList (const InetAddress & ia, tpport_t data, tpport_t control) [protected]
Locks the object before modifying it. she does NOT touch the list without locking first. boundaries, bestie. π«Ά
TransportAddress * DestinationListHandler::getFirstDestination () const [inline]
bool DestinationListHandler::isSingleDestination () const [inline]
Get whether there is only a destination in the list. just checking if it's a solo situation or a whole crowd. π
void DestinationListHandler::lockDestinationList () const [inline]
bool DestinationListHandler::removeDestinationFromList (const InetAddress & ia, tpport_t dataPort, tpport_t controlPort) [protected]
Locks the object before modifying it. the lock stays on, no exceptions, periodt. π
void DestinationListHandler::unlockDestinationList () const [inline]
void DestinationListHandler::writeLockDestinationList () const [inline], [protected]
π Member Data Documentation π
std::list<TransportAddress*> DestinationListHandler::destList [protected]
the actual list. the main character. the whole reason we're here. π
πΈ Author πΈ
Generated automatically by Doxygen for ccRTP from the source code. so technically the author is a robot and honestly? slay. π€β¨
okay that's the whole page, bestie, you're fully caught up. π this came straight out of the ccRTP docs, DestinationListHandler(3), and yes, it was auto-generated by Doxygen from the source code. go forth and handle those destinations. π¦π
π¦ where this page comes from
- debian trixie: libccrtp-doc 2.0.9-4.1 Β· GPL-2.0-or-later WITH MIF exception
- ubuntu noble: libccrtp-doc 2.0.9-2.5build1
- ubuntu questing: libccrtp-doc 2.0.9-4.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms