INET Framework for OMNeT++/OMNEST
inet::sctp::NatMessage Class Reference

Class generated from inet/transportlayer/sctp/SCTPMessage.msg:372 by nedtool. More...

#include <SCTPMessage_m.h>

Inheritance diagram for inet::sctp::NatMessage:

Public Member Functions

 NatMessage (const char *name=nullptr, short kind=0)
 
 NatMessage (const NatMessage &other)
 
virtual ~NatMessage ()
 
NatMessageoperator= (const NatMessage &other)
 
virtual NatMessagedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getMulti () const
 
virtual void setMulti (bool multi)
 
virtual uint16_t getPeer1 () const
 
virtual void setPeer1 (uint16_t peer1)
 
virtual void setPeer1AddressesArraySize (unsigned int size)
 
virtual unsigned int getPeer1AddressesArraySize () const
 
virtual L3AddressgetPeer1Addresses (unsigned int k)
 
virtual const L3AddressgetPeer1Addresses (unsigned int k) const
 
virtual void setPeer1Addresses (unsigned int k, const L3Address &peer1Addresses)
 
virtual uint32_t getPortPeer1 () const
 
virtual void setPortPeer1 (uint32_t portPeer1)
 
virtual uint16_t getPeer2 () const
 
virtual void setPeer2 (uint16_t peer2)
 
virtual void setPeer2AddressesArraySize (unsigned int size)
 
virtual unsigned int getPeer2AddressesArraySize () const
 
virtual L3AddressgetPeer2Addresses (unsigned int k)
 
virtual const L3AddressgetPeer2Addresses (unsigned int k) const
 
virtual void setPeer2Addresses (unsigned int k, const L3Address &peer2Addresses)
 
virtual uint32_t getPortPeer2 () const
 
virtual void setPortPeer2 (uint32_t portPeer2)
 

Protected Member Functions

bool operator== (const NatMessage &)
 

Protected Attributes

bool multi
 
uint16_t peer1
 
L3Addresspeer1Addresses
 
unsigned int peer1Addresses_arraysize
 
uint32_t portPeer1
 
uint16_t peer2
 
L3Addresspeer2Addresses
 
unsigned int peer2Addresses_arraysize
 
uint32_t portPeer2
 

Private Member Functions

void copy (const NatMessage &other)
 

Detailed Description

Class generated from inet/transportlayer/sctp/SCTPMessage.msg:372 by nedtool.

message NatMessage extends cPacket
{
    bool multi;
    uint16 peer1;
    L3Address peer1Addresses[];
    uint32 portPeer1;
    uint16 peer2;
    L3Address peer2Addresses[];
    uint32 portPeer2;
}

Constructor & Destructor Documentation

inet::sctp::NatMessage::NatMessage ( const char *  name = nullptr,
short  kind = 0 
)
inet::sctp::NatMessage::NatMessage ( const NatMessage other)
virtual inet::sctp::NatMessage::~NatMessage ( )
virtual

Member Function Documentation

void inet::sctp::NatMessage::copy ( const NatMessage other)
private
virtual NatMessage* inet::sctp::NatMessage::dup ( ) const
inlineoverridevirtual
2227 {return new NatMessage(*this);}
NatMessage(const char *name=nullptr, short kind=0)
virtual bool inet::sctp::NatMessage::getMulti ( ) const
virtual
virtual uint16_t inet::sctp::NatMessage::getPeer1 ( ) const
virtual
virtual L3Address& inet::sctp::NatMessage::getPeer1Addresses ( unsigned int  k)
virtual
virtual const L3Address& inet::sctp::NatMessage::getPeer1Addresses ( unsigned int  k) const
inlinevirtual

Referenced by getPeer1Addresses().

2239 {return const_cast<NatMessage*>(this)->getPeer1Addresses(k);}
NatMessage(const char *name=nullptr, short kind=0)
virtual L3Address & getPeer1Addresses(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::sctp::NatMessage::getPeer1AddressesArraySize ( ) const
virtual
virtual uint16_t inet::sctp::NatMessage::getPeer2 ( ) const
virtual
virtual L3Address& inet::sctp::NatMessage::getPeer2Addresses ( unsigned int  k)
virtual
virtual const L3Address& inet::sctp::NatMessage::getPeer2Addresses ( unsigned int  k) const
inlinevirtual

Referenced by getPeer2Addresses().

2248 {return const_cast<NatMessage*>(this)->getPeer2Addresses(k);}
NatMessage(const char *name=nullptr, short kind=0)
const double k
Definition: QAM16Modulation.cc:24
virtual L3Address & getPeer2Addresses(unsigned int k)
virtual unsigned int inet::sctp::NatMessage::getPeer2AddressesArraySize ( ) const
virtual
virtual uint32_t inet::sctp::NatMessage::getPortPeer1 ( ) const
virtual
virtual uint32_t inet::sctp::NatMessage::getPortPeer2 ( ) const
virtual
NatMessage& inet::sctp::NatMessage::operator= ( const NatMessage other)
bool inet::sctp::NatMessage::operator== ( const NatMessage )
protected
virtual void inet::sctp::NatMessage::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::sctp::NatMessage::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::sctp::NatMessage::setMulti ( bool  multi)
virtual
virtual void inet::sctp::NatMessage::setPeer1 ( uint16_t  peer1)
virtual
virtual void inet::sctp::NatMessage::setPeer1Addresses ( unsigned int  k,
const L3Address peer1Addresses 
)
virtual
virtual void inet::sctp::NatMessage::setPeer1AddressesArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::NatMessage::setPeer2 ( uint16_t  peer2)
virtual
virtual void inet::sctp::NatMessage::setPeer2Addresses ( unsigned int  k,
const L3Address peer2Addresses 
)
virtual
virtual void inet::sctp::NatMessage::setPeer2AddressesArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::NatMessage::setPortPeer1 ( uint32_t  portPeer1)
virtual
virtual void inet::sctp::NatMessage::setPortPeer2 ( uint32_t  portPeer2)
virtual

Member Data Documentation

bool inet::sctp::NatMessage::multi
protected
uint16_t inet::sctp::NatMessage::peer1
protected
L3Address* inet::sctp::NatMessage::peer1Addresses
protected
unsigned int inet::sctp::NatMessage::peer1Addresses_arraysize
protected
uint16_t inet::sctp::NatMessage::peer2
protected
L3Address* inet::sctp::NatMessage::peer2Addresses
protected
unsigned int inet::sctp::NatMessage::peer2Addresses_arraysize
protected
uint32_t inet::sctp::NatMessage::portPeer1
protected
uint32_t inet::sctp::NatMessage::portPeer2
protected

The documentation for this class was generated from the following file: