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

Class generated from inet/linklayer/ethernet/common/EthernetCommand.msg:16 by opp_msgtool. More...

#include <EthernetCommand_m.h>

Inheritance diagram for inet::EthernetBindCommand:
inet::SocketBindCommand inet::SocketCommandBase

Public Member Functions

 EthernetBindCommand ()
 
 EthernetBindCommand (const EthernetBindCommand &other)
 
virtual ~EthernetBindCommand ()
 
EthernetBindCommandoperator= (const EthernetBindCommand &other)
 
virtual EthernetBindCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const MacAddressgetLocalAddress () const
 
virtual MacAddressgetLocalAddressForUpdate ()
 
virtual void setLocalAddress (const MacAddress &localAddress)
 
virtual const MacAddressgetRemoteAddress () const
 
virtual MacAddressgetRemoteAddressForUpdate ()
 
virtual void setRemoteAddress (const MacAddress &remoteAddress)
 
virtual const ProtocolgetProtocol () const
 
virtual void setProtocol (const Protocol *protocol)
 
- Public Member Functions inherited from inet::SocketBindCommand
 SocketBindCommand ()
 
 SocketBindCommand (const SocketBindCommand &other)
 
virtual ~SocketBindCommand ()
 
SocketBindCommandoperator= (const SocketBindCommand &other)
 
virtual bool getSteal () const
 
virtual void setSteal (bool steal)
 
- Public Member Functions inherited from inet::SocketCommandBase
 SocketCommandBase ()
 
 SocketCommandBase (const SocketCommandBase &other)
 
virtual ~SocketCommandBase ()
 
SocketCommandBaseoperator= (const SocketCommandBase &other)
 

Protected Member Functions

bool operator== (const EthernetBindCommand &)=delete
 
- Protected Member Functions inherited from inet::SocketBindCommand
bool operator== (const SocketBindCommand &)=delete
 
- Protected Member Functions inherited from inet::SocketCommandBase
bool operator== (const SocketCommandBase &)=delete
 

Protected Attributes

MacAddress localAddress
 
MacAddress remoteAddress
 
const Protocolprotocol = nullptr
 
- Protected Attributes inherited from inet::SocketBindCommand
bool steal = false
 

Private Member Functions

void copy (const EthernetBindCommand &other)
 

Detailed Description

Class generated from inet/linklayer/ethernet/common/EthernetCommand.msg:16 by opp_msgtool.

class EthernetBindCommand extends SocketBindCommand
{
    MacAddress localAddress;
    MacAddress remoteAddress;
    const Protocol *protocol;
}

Constructor & Destructor Documentation

◆ EthernetBindCommand() [1/2]

inet::EthernetBindCommand::EthernetBindCommand ( )

◆ EthernetBindCommand() [2/2]

inet::EthernetBindCommand::EthernetBindCommand ( const EthernetBindCommand other)

◆ ~EthernetBindCommand()

virtual inet::EthernetBindCommand::~EthernetBindCommand ( )
virtual

Member Function Documentation

◆ copy()

void inet::EthernetBindCommand::copy ( const EthernetBindCommand other)
private

◆ dup()

virtual EthernetBindCommand* inet::EthernetBindCommand::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::SocketBindCommand.

77 {return new EthernetBindCommand(*this);}

◆ getLocalAddress()

virtual const MacAddress& inet::EthernetBindCommand::getLocalAddress ( ) const
virtual

◆ getLocalAddressForUpdate()

virtual MacAddress& inet::EthernetBindCommand::getLocalAddressForUpdate ( )
inlinevirtual
82 { return const_cast<MacAddress&>(const_cast<EthernetBindCommand*>(this)->getLocalAddress());}

◆ getProtocol()

virtual const Protocol* inet::EthernetBindCommand::getProtocol ( ) const
virtual

◆ getRemoteAddress()

virtual const MacAddress& inet::EthernetBindCommand::getRemoteAddress ( ) const
virtual

◆ getRemoteAddressForUpdate()

virtual MacAddress& inet::EthernetBindCommand::getRemoteAddressForUpdate ( )
inlinevirtual
86 { return const_cast<MacAddress&>(const_cast<EthernetBindCommand*>(this)->getRemoteAddress());}

◆ operator=()

EthernetBindCommand& inet::EthernetBindCommand::operator= ( const EthernetBindCommand other)

◆ operator==()

bool inet::EthernetBindCommand::operator== ( const EthernetBindCommand )
protecteddelete

◆ parsimPack()

virtual void inet::EthernetBindCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::SocketBindCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::SocketBindCommand.

Referenced by inet::doParsimUnpacking().

◆ setLocalAddress()

virtual void inet::EthernetBindCommand::setLocalAddress ( const MacAddress localAddress)
virtual

◆ setProtocol()

virtual void inet::EthernetBindCommand::setProtocol ( const Protocol protocol)
virtual

◆ setRemoteAddress()

virtual void inet::EthernetBindCommand::setRemoteAddress ( const MacAddress remoteAddress)
virtual

Member Data Documentation

◆ localAddress

MacAddress inet::EthernetBindCommand::localAddress
protected

◆ protocol

const Protocol* inet::EthernetBindCommand::protocol = nullptr
protected

◆ remoteAddress

MacAddress inet::EthernetBindCommand::remoteAddress
protected

The documentation for this class was generated from the following file:
inet::EthernetBindCommand::getLocalAddress
virtual const MacAddress & getLocalAddress() const
inet::EthernetBindCommand::getRemoteAddress
virtual const MacAddress & getRemoteAddress() const
inet::EthernetBindCommand::EthernetBindCommand
EthernetBindCommand()