INET Framework for OMNeT++/OMNEST
inet::UDPControlInfo Class Reference

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:68 by nedtool. More...

#include <UDPControlInfo_m.h>

Inheritance diagram for inet::UDPControlInfo:
inet::UDPBindCommand inet::UDPCloseCommand inet::UDPConnectCommand inet::UDPDataIndication inet::UDPErrorIndication inet::UDPSendCommand inet::UDPSetOptionCommand inet::UDPBlockMulticastSourcesCommand inet::UDPJoinMulticastGroupsCommand inet::UDPJoinMulticastSourcesCommand inet::UDPLeaveMulticastGroupsCommand inet::UDPLeaveMulticastSourcesCommand inet::UDPSetBroadcastCommand inet::UDPSetMulticastInterfaceCommand inet::UDPSetMulticastLoopCommand inet::UDPSetMulticastSourceFilterCommand inet::UDPSetReuseAddressCommand inet::UDPSetTimeToLiveCommand inet::UDPSetTypeOfServiceCommand inet::UDPUnblockMulticastSourcesCommand

Public Member Functions

 UDPControlInfo ()
 
 UDPControlInfo (const UDPControlInfo &other)
 
virtual ~UDPControlInfo ()
 
UDPControlInfooperator= (const UDPControlInfo &other)
 
virtual UDPControlInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getSockId () const
 
virtual void setSockId (int sockId)
 

Protected Member Functions

bool operator== (const UDPControlInfo &)
 

Protected Attributes

int sockId
 

Private Member Functions

void copy (const UDPControlInfo &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:68 by nedtool.

//
// Base class for UDP control info classes. The most convenient way to handle
// ~UDP is the UDPSocket class, which hides control info from you.
//
// sockId must uniquely identify the socket in the ~UDP module; the best way
// to achieve that is to obtain the value from UDPSocket::generateSocketId().
//
// @see ~UDPCommandCode
//
class UDPControlInfo
{
    int sockId = -1;  // must uniquely identify the socket in the ~UDP module
}

Constructor & Destructor Documentation

inet::UDPControlInfo::UDPControlInfo ( )
inet::UDPControlInfo::UDPControlInfo ( const UDPControlInfo other)
virtual inet::UDPControlInfo::~UDPControlInfo ( )
virtual

Member Function Documentation

void inet::UDPControlInfo::copy ( const UDPControlInfo other)
private
virtual int inet::UDPControlInfo::getSockId ( ) const
virtual
UDPControlInfo& inet::UDPControlInfo::operator= ( const UDPControlInfo other)
bool inet::UDPControlInfo::operator== ( const UDPControlInfo )
protected

Member Data Documentation

int inet::UDPControlInfo::sockId
protected

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