TransportProtocolBase

Package: inet.transportlayer.base

TransportProtocolBase

simple module

Module base for different transport protocols.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
LayeredProtocolBase simple module

Module base for different layered protocols.

Properties

Name Value Description

Gates

Name Direction Size Description
upperLayerIn [ ] input
upperLayerOut [ ] output
lowerLayerIn input
lowerLayerOut output

Signals

Name Type Unit
packetReceivedFromUpper cPacket
packetReceivedFromLower cPacket
packetDropped cPacket
packetSentToLower cPacket
packetSentToUpper cPacket

Source code

//
// Module base for different transport protocols.
//
simple TransportProtocolBase extends LayeredProtocolBase
{
    gates:
        input upperLayerIn[];
        output upperLayerOut[];
        input lowerLayerIn @labels(ITransportPacket/up);
        output lowerLayerOut @labels(ITransportPacket/down);
}

File: src/inet/transportlayer/base/TransportProtocolBase.ned