Destinatio...ortAddress(3)

πŸ“¦
version 2.0.9 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– Destinatio...ortAddress β€” the manual page, bestie πŸ’–

okay so real talk: this page lives in the Library Functions Manual, and it's section 3, and the thing it's documenting is a whole class called DestinationListHandler::TransportAddress. It's a lil struct-y vibe holder that carries around a network address and two ports. That's the whole plot. Let's get into it 🫢


✨ NAME ✨

DestinationListHandler::TransportAddress β€” periodt, that's the name πŸ’…


🌸 SYNOPSIS 🌸

#include <oqueue.h>

πŸ’… Public Member Functions

  • TransportAddress (InetAddress na, tpport_t dtp, tpport_t ctp) β€” the constructor, she builds the thing from a network address plus two ports
  • const InetAddress & getNetworkAddress () const β€” hands you back the network address, by const reference, no copies, we're efficient
  • tpport_t getDataTransportPort () const β€” hands you back the data transport port
  • tpport_t getControlTransportPort () const β€” hands you back the control transport port

πŸŽ€ Public Attributes

  • InetAddress networkAddress β€” the network address, just vibing out in the open
  • tpport_t dataTransportPort β€” the data transport port
  • tpport_t controlTransportPort β€” the control transport port

πŸ¦‹ Constructor & Destructor Documentation πŸ¦‹

the constructor, aka main character energy

DestinationListHandler::TransportAddress::TransportAddress (InetAddress na,
    tpport_t dtp, tpport_t ctp) [inline]

she's [inline], she takes three things β€” na, dtp, ctp β€” and she is literally the whole origin story πŸ”₯


πŸ”₯ Member Function Documentation πŸ”₯

getControlTransportPort

tpport_t DestinationListHandler::TransportAddress::getControlTransportPort
    () const [inline]

gives you the control transport port back, and yes she's [inline] because we do not waste a function call in this house 😌

getDataTransportPort

tpport_t DestinationListHandler::TransportAddress::getDataTransportPort ()
    const [inline]

gives you the data transport port back. also [inline]. iconic behavior, honestly 🌈

getNetworkAddress

const InetAddress &
    DestinationListHandler::TransportAddress::getNetworkAddress () const
    [inline]

returns a const InetAddress & β€” a reference, bestie, so nobody's copying a whole address object for no reason β€” and yeah, [inline] too ✨


πŸ‘‘ Member Data Documentation πŸ‘‘

  • tpport_t DestinationListHandler::TransportAddress::controlTransportPort β€” the control transport port, sitting right there in public like it owns the place
  • tpport_t DestinationListHandler::TransportAddress::dataTransportPort β€” the data transport port, also out in the open, also thriving
  • InetAddress DestinationListHandler::TransportAddress::networkAddress β€” the network address itself. the blueprint. the moment. πŸ’œ

⭐ Author ⭐

Generated automatically by Doxygen for ccRTP from the source code.

so like, a robot wrote this, not a human, which is kind of giving "the machines are doing our homework" but honestly she ate πŸ’€


and that's the whole page, babe β€” the footer says this one's from ccRTP and it's the Library Functions Manual's Destinatio...ortAddress(3) page, so go forth and go get that oqueue.h included πŸ§šπŸ“ no cap, you got this πŸ’–

πŸ“¦ where this page comes from