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

Class generated from inet/transportlayer/contract/sctp/SCTPCommand.msg:172 by nedtool. More...

#include <SCTPCommand_m.h>

Inheritance diagram for inet::SCTPConnectInfo:
inet::SCTPCommand

Public Member Functions

 SCTPConnectInfo (const char *name=nullptr, short kind=0)
 
 SCTPConnectInfo (const SCTPConnectInfo &other)
 
virtual ~SCTPConnectInfo ()
 
SCTPConnectInfooperator= (const SCTPConnectInfo &other)
 
virtual SCTPConnectInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual AddressVectorgetRemoteAddresses ()
 
virtual const AddressVectorgetRemoteAddresses () const
 
virtual void setRemoteAddresses (const AddressVector &remoteAddresses)
 
virtual int getStatus () const
 
virtual void setStatus (int status)
 
virtual int getInboundStreams () const
 
virtual void setInboundStreams (int inboundStreams)
 
virtual int getOutboundStreams () const
 
virtual void setOutboundStreams (int outboundStreams)
 
- Public Member Functions inherited from inet::SCTPCommand
 SCTPCommand (const char *name=nullptr, short kind=0)
 
 SCTPCommand (const SCTPCommand &other)
 
virtual ~SCTPCommand ()
 
SCTPCommandoperator= (const SCTPCommand &other)
 
virtual int getAssocId () const
 
virtual void setAssocId (int assocId)
 
virtual int getSid () const
 
virtual void setSid (int sid)
 
virtual int getNumMsgs () const
 
virtual void setNumMsgs (int numMsgs)
 
virtual int getSsn () const
 
virtual void setSsn (int ssn)
 
virtual unsigned short getSendUnordered () const
 
virtual void setSendUnordered (unsigned short sendUnordered)
 
virtual double getPrValue () const
 
virtual void setPrValue (double prValue)
 
virtual L3AddressgetLocalAddr ()
 
virtual const L3AddressgetLocalAddr () const
 
virtual void setLocalAddr (const L3Address &localAddr)
 
virtual L3AddressgetRemoteAddr ()
 
virtual const L3AddressgetRemoteAddr () const
 
virtual void setRemoteAddr (const L3Address &remoteAddr)
 
virtual int getLocalPort () const
 
virtual void setLocalPort (int localPort)
 
virtual int getRemotePort () const
 
virtual void setRemotePort (int remotePort)
 
virtual int getGate () const
 
virtual void setGate (int gate)
 
virtual int getFd () const
 
virtual void setFd (int fd)
 

Protected Member Functions

bool operator== (const SCTPConnectInfo &)
 
- Protected Member Functions inherited from inet::SCTPCommand
bool operator== (const SCTPCommand &)
 

Protected Attributes

AddressVector remoteAddresses
 
int status
 
int inboundStreams
 
int outboundStreams
 
- Protected Attributes inherited from inet::SCTPCommand
int assocId
 
int sid
 
int numMsgs
 
int ssn
 
unsigned short sendUnordered
 
double prValue
 
L3Address localAddr
 
L3Address remoteAddr
 
int localPort
 
int remotePort
 
int gate
 
int fd
 

Private Member Functions

void copy (const SCTPConnectInfo &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/sctp/SCTPCommand.msg:172 by nedtool.

//
// Sent with message kind SCTP_I_ESTABLISHED, to let the app know
// about the local and remote IP address and port.
//
// @see ~SctpCommandCode, ~SCTP
//
message SCTPConnectInfo extends SCTPCommand
{
    AddressVector remoteAddresses;
    int status;
    int inboundStreams;
    int outboundStreams;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::SCTPCommand.

508 {return new SCTPConnectInfo(*this);}
SCTPConnectInfo(const char *name=nullptr, short kind=0)
virtual AddressVector& inet::SCTPConnectInfo::getRemoteAddresses ( )
virtual
virtual const AddressVector& inet::SCTPConnectInfo::getRemoteAddresses ( ) const
inlinevirtual

Referenced by getRemoteAddresses().

514 {return const_cast<SCTPConnectInfo*>(this)->getRemoteAddresses();}
SCTPConnectInfo(const char *name=nullptr, short kind=0)
virtual AddressVector & getRemoteAddresses()
virtual int inet::SCTPConnectInfo::getStatus ( ) const
virtual
SCTPConnectInfo& inet::SCTPConnectInfo::operator= ( const SCTPConnectInfo other)
bool inet::SCTPConnectInfo::operator== ( const SCTPConnectInfo )
protected
virtual void inet::SCTPConnectInfo::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::SCTPConnectInfo::setInboundStreams ( int  inboundStreams)
virtual
virtual void inet::SCTPConnectInfo::setOutboundStreams ( int  outboundStreams)
virtual
virtual void inet::SCTPConnectInfo::setRemoteAddresses ( const AddressVector remoteAddresses)
virtual
virtual void inet::SCTPConnectInfo::setStatus ( int  status)
virtual

Member Data Documentation

int inet::SCTPConnectInfo::inboundStreams
protected
int inet::SCTPConnectInfo::outboundStreams
protected
AddressVector inet::SCTPConnectInfo::remoteAddresses
protected
int inet::SCTPConnectInfo::status
protected

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