INET Framework for OMNeT++/OMNEST
inet::ITransportPacket Class Referenceabstract

This interface provides an abstraction for different transport layer packets. More...

#include <ITransportPacket.h>

Inheritance diagram for inet::ITransportPacket:
inet::sctp::SCTPMessage inet::tcp::TCPSegment inet::UDPPacket

Public Member Functions

virtual ~ITransportPacket ()
 
virtual unsigned int getSourcePort () const =0
 
virtual void setSourcePort (unsigned int port)=0
 
virtual unsigned int getDestinationPort () const =0
 
virtual void setDestinationPort (unsigned int port)=0
 

Detailed Description

This interface provides an abstraction for different transport layer packets.

Constructor & Destructor Documentation

virtual inet::ITransportPacket::~ITransportPacket ( )
inlinevirtual
31 {}

Member Function Documentation

virtual unsigned int inet::ITransportPacket::getDestinationPort ( ) const
pure virtual
virtual unsigned int inet::ITransportPacket::getSourcePort ( ) const
pure virtual
virtual void inet::ITransportPacket::setDestinationPort ( unsigned int  port)
pure virtual
virtual void inet::ITransportPacket::setSourcePort ( unsigned int  port)
pure virtual

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