LayeredProtocolBase
Package: inet.common
LayeredProtocolBase
simple moduleModule base for different layered protocols.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
| Name | Type | Description |
|---|---|---|
| MacProtocolBase | simple module |
Module base for different MAC protocols. |
| NetworkProtocolBase | simple module |
Module base for different network protocols. |
| PhysicalLayerBase | simple module |
Module base for different physical layers. |
| TransportProtocolBase | simple module |
Module base for different transport protocols. |
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple modules. |
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 |
Signals
| Name | Type | Unit | Description |
|---|---|---|---|
| packetReceivedFromUpper | cPacket | ||
| packetReceivedFromLower | cPacket | ||
| packetDropped | cPacket | ||
| packetSentToLower | cPacket | ||
| packetSentToUpper | cPacket |
Source code
// // Module base for different layered protocols. // simple LayeredProtocolBase extends SimpleModule { parameters: @class(LayeredProtocolBase); @signal[packetSentToUpper](type=cPacket); @signal[packetReceivedFromUpper](type=cPacket); @signal[packetSentToLower](type=cPacket); @signal[packetReceivedFromLower](type=cPacket); @signal[packetDropped](type=cPacket); }File: src/inet/common/LayeredProtocolBase.ned