|
INET Framework for OMNeT++/OMNEST
|
#include <UDPControlInfo_m.h>
Public Member Functions | |
| UDPControlInfo () | |
| UDPControlInfo (const UDPControlInfo &other) | |
| virtual | ~UDPControlInfo () |
| UDPControlInfo & | operator= (const UDPControlInfo &other) |
| virtual UDPControlInfo * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual int | getSockId () const |
| virtual void | setSockId (int sockId) |
| virtual int | getUserId () const |
| virtual void | setUserId (int userId) |
| virtual IPvXAddress & | getSrcAddr () |
| virtual const IPvXAddress & | getSrcAddr () const |
| virtual void | setSrcAddr (const IPvXAddress &srcAddr) |
| virtual IPvXAddress & | getDestAddr () |
| virtual const IPvXAddress & | getDestAddr () const |
| virtual void | setDestAddr (const IPvXAddress &destAddr) |
| virtual int | getSrcPort () const |
| virtual void | setSrcPort (int srcPort) |
| virtual int | getDestPort () const |
| virtual void | setDestPort (int destPort) |
| virtual int | getInterfaceId () const |
| virtual void | setInterfaceId (int interfaceId) |
Protected Member Functions | |
| bool | operator== (const UDPControlInfo &) |
Protected Attributes | |
| int | sockId_var |
| int | userId_var |
| IPvXAddress | srcAddr_var |
| IPvXAddress | destAddr_var |
| int | srcPort_var |
| int | destPort_var |
| int | interfaceId_var |
Private Member Functions | |
| void | copy (const UDPControlInfo &other) |
Class generated from transport/contract/UDPControlInfo.msg by opp_msgc.
class UDPControlInfo { int sockId = -1; int userId = -1; IPvXAddress srcAddr; IPvXAddress destAddr; int srcPort; int destPort; int interfaceId = -1; }
Definition at line 73 of file UDPControlInfo_m.h.
Referenced by dup().
| UDPControlInfo::UDPControlInfo | ( | const UDPControlInfo & | other | ) |
| virtual UDPControlInfo::~UDPControlInfo | ( | ) | [virtual] |
| void UDPControlInfo::copy | ( | const UDPControlInfo & | other | ) | [private] |
| virtual UDPControlInfo* UDPControlInfo::dup | ( | ) | const [inline, virtual] |
Definition at line 96 of file UDPControlInfo_m.h.
{return new UDPControlInfo(*this);}
| virtual IPvXAddress& UDPControlInfo::getDestAddr | ( | ) | [virtual] |
| virtual const IPvXAddress& UDPControlInfo::getDestAddr | ( | ) | const [inline, virtual] |
Definition at line 109 of file UDPControlInfo_m.h.
Referenced by getDestAddr().
{return const_cast<UDPControlInfo*>(this)->getDestAddr();}
| virtual int UDPControlInfo::getDestPort | ( | ) | const [virtual] |
| virtual int UDPControlInfo::getInterfaceId | ( | ) | const [virtual] |
Referenced by UDP::bind(), LDP::processLDPHello(), UDP::processMsgFromApp(), and RIPRouting::processResponse().
| virtual int UDPControlInfo::getSockId | ( | ) | const [virtual] |
Referenced by UDPSocket::belongsToSocket(), UDP::bind(), UDP::processCommandFromApp(), and UDPSocket::processMessage().
| virtual IPvXAddress& UDPControlInfo::getSrcAddr | ( | ) | [virtual] |
| virtual const IPvXAddress& UDPControlInfo::getSrcAddr | ( | ) | const [inline, virtual] |
Definition at line 106 of file UDPControlInfo_m.h.
Referenced by getSrcAddr().
{return const_cast<UDPControlInfo*>(this)->getSrcAddr();}
| virtual int UDPControlInfo::getSrcPort | ( | ) | const [virtual] |
| virtual int UDPControlInfo::getUserId | ( | ) | const [virtual] |
Referenced by UDP::bind().
| UDPControlInfo& UDPControlInfo::operator= | ( | const UDPControlInfo & | other | ) |
| bool UDPControlInfo::operator== | ( | const UDPControlInfo & | ) | [protected] |
| virtual void UDPControlInfo::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Referenced by doPacking().
| virtual void UDPControlInfo::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Referenced by doUnpacking().
| virtual void UDPControlInfo::setDestAddr | ( | const IPvXAddress & | destAddr | ) | [virtual] |
Referenced by UDPSocket::connect(), RTCP::createPacket(), RTP::dataOut(), UDPEchoApp::processPacket(), SCTP::sendAbortFromMain(), RIPRouting::sendPacket(), TrafGen::sendPacket(), UDPSocket::sendTo(), SCTPAssociation::sendToIP(), UDPAppBase::sendToUDP(), UDP::sendUp(), and UDP::sendUpErrorNotification().
| virtual void UDPControlInfo::setDestPort | ( | int | destPort | ) | [virtual] |
Referenced by UDPSocket::connect(), RTCP::createPacket(), RTP::dataOut(), UDPEchoApp::processPacket(), SCTP::sendAbortFromMain(), RIPRouting::sendPacket(), TrafGen::sendPacket(), UDPSocket::sendTo(), SCTPAssociation::sendToIP(), UDPAppBase::sendToUDP(), UDP::sendUp(), and UDP::sendUpErrorNotification().
| virtual void UDPControlInfo::setInterfaceId | ( | int | interfaceId | ) | [virtual] |
Referenced by RIPRouting::sendPacket(), UDPSocket::sendTo(), and UDP::sendUp().
| virtual void UDPControlInfo::setSockId | ( | int | sockId | ) | [virtual] |
| virtual void UDPControlInfo::setSrcAddr | ( | const IPvXAddress & | srcAddr | ) | [virtual] |
| virtual void UDPControlInfo::setSrcPort | ( | int | srcPort | ) | [virtual] |
Referenced by UDPSocket::bind(), SCTP::bindPortForUDP(), TrafGen::bindSockets(), UDPAppBase::bindToPort(), RTP::createSocket(), RTCP::createSocket(), UDPEchoApp::processPacket(), SCTP::sendAbortFromMain(), RIPRouting::sendPacket(), TrafGen::sendPacket(), UDPSocket::sendTo(), SCTPAssociation::sendToIP(), UDPAppBase::sendToUDP(), UDP::sendUp(), and UDP::sendUpErrorNotification().
| virtual void UDPControlInfo::setUserId | ( | int | userId | ) | [virtual] |
Referenced by UDPSocket::bind(), UDP::sendUp(), and UDP::sendUpErrorNotification().
IPvXAddress UDPControlInfo::destAddr_var [protected] |
Definition at line 79 of file UDPControlInfo_m.h.
int UDPControlInfo::destPort_var [protected] |
Definition at line 81 of file UDPControlInfo_m.h.
int UDPControlInfo::interfaceId_var [protected] |
Definition at line 82 of file UDPControlInfo_m.h.
int UDPControlInfo::sockId_var [protected] |
Definition at line 76 of file UDPControlInfo_m.h.
IPvXAddress UDPControlInfo::srcAddr_var [protected] |
Definition at line 78 of file UDPControlInfo_m.h.
int UDPControlInfo::srcPort_var [protected] |
Definition at line 80 of file UDPControlInfo_m.h.
int UDPControlInfo::userId_var [protected] |
Definition at line 77 of file UDPControlInfo_m.h.