OmittedSocketLayer¶
Package: inet.protocolelement.socket
compound module OmittedSocketLayer
Implements the module given interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialize.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Base module for all INET compound 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 |
::inet::OmittedModule |
|
display |
i=block/layer,black,50 |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
upperLayerIn |
input |
||
upperLayerOut |
output |
||
lowerLayerIn |
input |
||
lowerLayerOut |
output |
Source code¶
//
// Implements the module given interface and can be used as an omitted
// optional module that removes itself from the module hierarchy during initialize.
//
module OmittedSocketLayer extends Module like ISocketLayer
{
parameters:
@class(::inet::OmittedModule);
@display("i=block/layer,black,50");
gates:
input upperLayerIn;
output upperLayerOut;
input lowerLayerIn;
output lowerLayerOut;
connections:
upperLayerIn --> lowerLayerOut;
lowerLayerIn --> upperLayerOut;
}
File: src/inet/protocolelement/socket/OmittedSocketLayer.ned