Package: inet.applications.common
SinkApp
compound moduleThis module implements a generic sink application.
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Properties
| Name | Value | Description |
|---|---|---|
| application | ||
| display | i=block/app |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| socketIn | input | ||
| socketOut | output |
Source code
// // This module implements a generic sink application. // module SinkApp like IApp { parameters: @application; @display("i=block/app"); gates: input socketIn; output socketOut; submodules: sink: <default("PassivePacketSink")> like IPassivePacketSink { @display("p=150,150"); } connections allowunconnected: socketIn --> sink.in; }File: src/inet/applications/common/SinkApp.ned