ConflictHa...ortAddress(3)
π ConflictHandler::ConflictingTransportAddress β NAME π
okay bestie, gather round, because this one is literally a whole little class called ConflictHandler::ConflictingTransportAddress and it lives in the Library Functions Manual, section 3. it's giving "I track a network address plus its ports and I'm not sorry about it" energy. π
β¨ SYNOPSIS β¨
first things first, you gotta pull it in:
#include <iqueue.h>
π«Ά Public Member Functions
ConflictingTransportAddress (InetAddress na, tpport_t dtp, tpport_t ctp)β the constructor, she builds the whole thing from a network address and two transport ports, no cap.void setNext (ConflictingTransportAddress *nc)β hands her a pointer to the next one in the chain, so she can link up with her girls.const InetAddress & getNetworkAddress () constβ hands you back the network address, by reference, and she's not letting you touch it (constbestie, respect the boundaries).tpport_t getDataTransportPort () constβ gives you the data transport port, and no, you can't edit it.tpport_t getControlTransportPort () constβ gives you the control transport port, same deal, read-only queen.
π Public Attributes
InetAddress networkAddressβ the address itself, sitting right there in the open.tpport_t dataTransportPortβ the data transport port, public and proud.tpport_t controlTransportPortβ the control transport port, also out in the open.ConflictingTransportAddress * nextβ pointer to the nextConflictingTransportAddressin the lineup. it's giving linked list. πtimeval lastPacketTimeβ when the last packet showed up, timestamped and everything.
πΈ Constructor & Destructor Documentation πΈ
π ConflictHandler::ConflictingTransportAddress::ConflictingTransportAddress
(InetAddress na, tpport_t dtp, tpport_t ctp)
that's the whole signature, that's the whole vibe. you give her na, dtp, and ctp, and she exists now. iconic behaviour honestly.
π¦ Member Function Documentation π¦
tpport_t ConflictHandler::ConflictingTransportAddress::getControlTransportPort () const [inline]β inline, const, and fully committed to giving you the control transport port. she's fast because she's[inline], periodt.tpport_t ConflictHandler::ConflictingTransportAddress::getDataTransportPort () const [inline]β same energy, different port: this one returns the data transport port,[inline]andconstas always. π«const InetAddress & ConflictHandler::ConflictingTransportAddress::getNetworkAddress () const [inline]β returns aconstreference to theInetAddress,[inline], so you get the address without the copy and without the ability to mess with it. boundaries, bestie.void ConflictHandler::ConflictingTransportAddress::setNext (ConflictingTransportAddress * nc) [inline]β takes a pointerncto anotherConflictingTransportAddressand sets it as the next one.[inline],void, no notes, ate. π₯
π Member Data Documentation π
tpport_t ConflictHandler::ConflictingTransportAddress::controlTransportPortβ the control transport port, stored as atpport_t.tpport_t ConflictHandler::ConflictingTransportAddress::dataTransportPortβ the data transport port, also atpport_t.timeval ConflictHandler::ConflictingTransportAddress::lastPacketTimeβ atimevalholding the last packet time. time is fake but this field is real. β°InetAddress ConflictHandler::ConflictingTransportAddress::networkAddressβ theInetAddressfor this entry.ConflictingTransportAddress* ConflictHandler::ConflictingTransportAddress::nextβ a pointer to the nextConflictingTransportAddress. chain them together and you've got yourself a whole squad. π
π Author π
Generated automatically by Doxygen for ccRTP from the source code.
and that's the whole page, bestie β ccRTP version vibes, manual section 3, shipped straight from the Library Functions Manual era. no cap, you now know her better than she knows herself. go forth and link some ConflictingTransportAddresses. ππβ¨
π¦ 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