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

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

#include <UDPControlInfo_m.h>

Inheritance diagram for inet::UDPSetBroadcastCommand:
inet::UDPSetOptionCommand inet::UDPControlInfo

Public Member Functions

 UDPSetBroadcastCommand ()
 
 UDPSetBroadcastCommand (const UDPSetBroadcastCommand &other)
 
virtual ~UDPSetBroadcastCommand ()
 
UDPSetBroadcastCommandoperator= (const UDPSetBroadcastCommand &other)
 
virtual UDPSetBroadcastCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getBroadcast () const
 
virtual void setBroadcast (bool broadcast)
 
- Public Member Functions inherited from inet::UDPSetOptionCommand
 UDPSetOptionCommand ()
 
 UDPSetOptionCommand (const UDPSetOptionCommand &other)
 
virtual ~UDPSetOptionCommand ()
 
UDPSetOptionCommandoperator= (const UDPSetOptionCommand &other)
 
- Public Member Functions inherited from inet::UDPControlInfo
 UDPControlInfo ()
 
 UDPControlInfo (const UDPControlInfo &other)
 
virtual ~UDPControlInfo ()
 
UDPControlInfooperator= (const UDPControlInfo &other)
 
virtual int getSockId () const
 
virtual void setSockId (int sockId)
 

Protected Member Functions

bool operator== (const UDPSetBroadcastCommand &)
 
- Protected Member Functions inherited from inet::UDPSetOptionCommand
bool operator== (const UDPSetOptionCommand &)
 
- Protected Member Functions inherited from inet::UDPControlInfo
bool operator== (const UDPControlInfo &)
 

Protected Attributes

bool broadcast
 
- Protected Attributes inherited from inet::UDPControlInfo
int sockId
 

Private Member Functions

void copy (const UDPSetBroadcastCommand &other)
 

Detailed Description

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

//
// Control info for setting the Broadcast option on an UDP socket.
// To set the option, send a message to the ~UDP module with kind=UDP_C_SETOPTION
// and an and instance of this control info class attached.
//
// @see ~UDPCommandCode
//
class UDPSetBroadcastCommand extends UDPSetOptionCommand
{
    bool broadcast;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::UDPSetBroadcastCommand::copy ( const UDPSetBroadcastCommand other)
private
virtual UDPSetBroadcastCommand* inet::UDPSetBroadcastCommand::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::UDPSetOptionCommand.

635 {return new UDPSetBroadcastCommand(*this);}
virtual bool inet::UDPSetBroadcastCommand::getBroadcast ( ) const
virtual
UDPSetBroadcastCommand& inet::UDPSetBroadcastCommand::operator= ( const UDPSetBroadcastCommand other)
bool inet::UDPSetBroadcastCommand::operator== ( const UDPSetBroadcastCommand )
protected
virtual void inet::UDPSetBroadcastCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimPacking().

virtual void inet::UDPSetBroadcastCommand::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::UDPSetBroadcastCommand::setBroadcast ( bool  broadcast)
virtual

Member Data Documentation

bool inet::UDPSetBroadcastCommand::broadcast
protected

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