TransportProtocolBase
Package: inet.transportlayer.base
TransportProtocolBase
simple moduleModule 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. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
Properties
| Name | Value | Description |
|---|---|---|
| class | LayeredProtocolBase |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn [ ] | input | ||
| upperLayerOut [ ] | output | ||
| lowerLayerIn | input | ||
| lowerLayerOut | output |
Signals
| Name | Type | Unit | Description |
|---|---|---|---|
| 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