Package: inet.tutorials.protocol
ServerApp
compound module(no description)
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 |
|---|---|---|
| display | i=block/app |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| receiveAtPort.port | int | ||
| receiveAtL3Address.address | string |
Source code
module ServerApp like IApp { parameters: @display("i=block/app"); gates: input in; output out; submodules: sink: <default("PassivePacketSink")> like IPassivePacketSink { @display("p=150,100"); } receiveAtPort: ReceiveAtPort { @display("p=150,200"); } receiveAtL3Address: ReceiveAtL3Address { @display("p=150,300"); } connections allowunconnected: in --> { @display("m=s"); } --> receiveAtL3Address.in; receiveAtL3Address.out --> receiveAtPort.in; receiveAtPort.out --> sink.in; }File: tutorials/protocol/Network91.ned