TransportProtocolBase¶
Package: inet.transportlayer.base
simple module TransportProtocolBase
Module base for different transport protocols.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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 |
|---|---|---|---|
packetDropped |
cPacket |
||
packetReceivedFromLower |
cPacket |
||
packetReceivedFromUpper |
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