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

Class generated from inet/networklayer/contract/ipv6/Ipv6SocketCommand.msg:31 by opp_msgtool. More...

#include <Ipv6SocketCommand_m.h>

Inheritance diagram for inet::Ipv6SocketBindCommand:
inet::Ipv6SocketCommandBase

Public Member Functions

 Ipv6SocketBindCommand ()
 
 Ipv6SocketBindCommand (const Ipv6SocketBindCommand &other)
 
virtual ~Ipv6SocketBindCommand ()
 
Ipv6SocketBindCommandoperator= (const Ipv6SocketBindCommand &other)
 
virtual Ipv6SocketBindCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const ProtocolgetProtocol () const
 
virtual void setProtocol (const Protocol *protocol)
 
virtual const Ipv6AddressgetLocalAddress () const
 
virtual Ipv6AddressgetLocalAddressForUpdate ()
 
virtual void setLocalAddress (const Ipv6Address &localAddress)
 
- Public Member Functions inherited from inet::Ipv6SocketCommandBase
 Ipv6SocketCommandBase ()
 
 Ipv6SocketCommandBase (const Ipv6SocketCommandBase &other)
 
virtual ~Ipv6SocketCommandBase ()
 
Ipv6SocketCommandBaseoperator= (const Ipv6SocketCommandBase &other)
 

Protected Member Functions

bool operator== (const Ipv6SocketBindCommand &)=delete
 
- Protected Member Functions inherited from inet::Ipv6SocketCommandBase
bool operator== (const Ipv6SocketCommandBase &)=delete
 

Protected Attributes

const Protocolprotocol = nullptr
 
Ipv6Address localAddress
 

Private Member Functions

void copy (const Ipv6SocketBindCommand &other)
 

Detailed Description

Class generated from inet/networklayer/contract/ipv6/Ipv6SocketCommand.msg:31 by opp_msgtool.

class Ipv6SocketBindCommand extends Ipv6SocketCommandBase
{
    const Protocol *protocol;
    Ipv6Address localAddress;
}

Constructor & Destructor Documentation

◆ Ipv6SocketBindCommand() [1/2]

inet::Ipv6SocketBindCommand::Ipv6SocketBindCommand ( )

◆ Ipv6SocketBindCommand() [2/2]

inet::Ipv6SocketBindCommand::Ipv6SocketBindCommand ( const Ipv6SocketBindCommand other)

◆ ~Ipv6SocketBindCommand()

virtual inet::Ipv6SocketBindCommand::~Ipv6SocketBindCommand ( )
virtual

Member Function Documentation

◆ copy()

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

◆ dup()

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

Reimplemented from inet::Ipv6SocketCommandBase.

149 {return new Ipv6SocketBindCommand(*this);}

◆ getLocalAddress()

virtual const Ipv6Address& inet::Ipv6SocketBindCommand::getLocalAddress ( ) const
virtual

◆ getLocalAddressForUpdate()

virtual Ipv6Address& inet::Ipv6SocketBindCommand::getLocalAddressForUpdate ( )
inlinevirtual
157 { return const_cast<Ipv6Address&>(const_cast<Ipv6SocketBindCommand*>(this)->getLocalAddress());}

◆ getProtocol()

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

◆ operator=()

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

◆ operator==()

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

◆ parsimPack()

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

Reimplemented from inet::Ipv6SocketCommandBase.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::Ipv6SocketCommandBase.

Referenced by inet::doParsimUnpacking().

◆ setLocalAddress()

virtual void inet::Ipv6SocketBindCommand::setLocalAddress ( const Ipv6Address localAddress)
virtual

◆ setProtocol()

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

Member Data Documentation

◆ localAddress

Ipv6Address inet::Ipv6SocketBindCommand::localAddress
protected

◆ protocol

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

The documentation for this class was generated from the following file:
inet::Ipv6SocketBindCommand::getLocalAddress
virtual const Ipv6Address & getLocalAddress() const
inet::Ipv6SocketBindCommand::Ipv6SocketBindCommand
Ipv6SocketBindCommand()