Package: inet.tutorials.protocol
ServerHost1
compound module(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| Network1 | network | (no description) |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=device/pc |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| app.displayStringTextFormat | string | "received %p pk (%l)" |
determines the text that is written on top of the submodule |
| app.clockModule | string | "" |
relative path of a module that implements IClock(1,2); optional |
| app.consumptionInterval | double | 0s |
elapsed time between subsequent packets allowed to be pushed by the connected packet producer, 0 means any number of packets can be pushed at the same simulation time |
| app.scheduleForAbsoluteTime | bool | true |
when a clock is used relative means that setting the clock will not affect the simulation time of the event |
Source code
module ServerHost1 { parameters: @display("i=device/pc"); gates: input in; submodules: app: PassivePacketSink { @display("p=100,100"); } connections: in --> { @display("m=s"); } --> app.in; }File: tutorials/protocol/Network1.ned