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

Class generated from inet/transportlayer/contract/tcp/TCPCommand.msg:182 by nedtool. More...

#include <TCPCommand_m.h>

Inheritance diagram for inet::TCPConnectInfo:
inet::TCPCommand

Public Member Functions

 TCPConnectInfo ()
 
 TCPConnectInfo (const TCPConnectInfo &other)
 
virtual ~TCPConnectInfo ()
 
TCPConnectInfooperator= (const TCPConnectInfo &other)
 
virtual TCPConnectInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
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)
 
- Public Member Functions inherited from inet::TCPCommand
 TCPCommand ()
 
 TCPCommand (const TCPCommand &other)
 
virtual ~TCPCommand ()
 
TCPCommandoperator= (const TCPCommand &other)
 
virtual int getConnId () const
 
virtual void setConnId (int connId)
 
virtual int getUserId () const
 
virtual void setUserId (int userId)
 

Protected Member Functions

bool operator== (const TCPConnectInfo &)
 
- Protected Member Functions inherited from inet::TCPCommand
bool operator== (const TCPCommand &)
 

Protected Attributes

L3Address localAddr
 
L3Address remoteAddr
 
int localPort
 
int remotePort
 
- Protected Attributes inherited from inet::TCPCommand
int connId
 
int userId
 

Private Member Functions

void copy (const TCPConnectInfo &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/tcp/TCPCommand.msg:182 by nedtool.

//
// Sent with message kind TCP_I_ESTABLISHED, to let the app know
// about the local and remote IP address and port.
//
// @see ~TcpCommandCode, ~ITCP
//
class TCPConnectInfo extends TCPCommand
{
    L3Address localAddr;
    L3Address remoteAddr;
    int localPort;
    int remotePort;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::TCPCommand.

427 {return new TCPConnectInfo(*this);}
virtual L3Address& inet::TCPConnectInfo::getLocalAddr ( )
virtual
virtual const L3Address& inet::TCPConnectInfo::getLocalAddr ( ) const
inlinevirtual

Referenced by getLocalAddr().

433 {return const_cast<TCPConnectInfo*>(this)->getLocalAddr();}
virtual L3Address & getLocalAddr()
virtual int inet::TCPConnectInfo::getLocalPort ( ) const
virtual
virtual L3Address& inet::TCPConnectInfo::getRemoteAddr ( )
virtual
virtual const L3Address& inet::TCPConnectInfo::getRemoteAddr ( ) const
inlinevirtual

Referenced by getRemoteAddr().

436 {return const_cast<TCPConnectInfo*>(this)->getRemoteAddr();}
virtual L3Address & getRemoteAddr()
virtual int inet::TCPConnectInfo::getRemotePort ( ) const
virtual
TCPConnectInfo& inet::TCPConnectInfo::operator= ( const TCPConnectInfo other)
bool inet::TCPConnectInfo::operator== ( const TCPConnectInfo )
protected
virtual void inet::TCPConnectInfo::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::TCPCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::TCPCommand.

Referenced by inet::doParsimUnpacking().

Member Data Documentation

L3Address inet::TCPConnectInfo::localAddr
protected
int inet::TCPConnectInfo::localPort
protected
L3Address inet::TCPConnectInfo::remoteAddr
protected
int inet::TCPConnectInfo::remotePort
protected

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