Simple host for the HttpTools project. The module is derived from the INET StandardHost module. All network infrastructure modules were removed; the node is a simple container for tcpApps. Suitable apps are the HttpBrowserDirect and HttpServerDirect modules from HttpTools. See the INET documentation for StandardHost and the provided examples on how to assign tcpApps to the module.
See also: HttpServerDirect
See also: HttpBrowserDirect
Author: Kristjan V. Jonsson ([email protected])
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
HttpDirectFlash | network |
Flash crowd simulation |
HttpDirectPair | network |
Simple scenario with a pair of nodes. Direct message passing used. |
Name | Type | Default value | Description |
---|---|---|---|
numTcpApps | double | 0 |
The number of tcpApps in the array |
Name | Value | Description |
---|---|---|
networkNode |
Name | Type | Default value | Description |
---|---|---|---|
tcpApp.linkSpeed | double |
Used to model transmission delays. |
// // Simple host for the HttpTools project. The module is derived from the INET // StandardHost module. All network infrastructure modules were removed; // the node is a simple container for tcpApps. Suitable apps are the HttpBrowserDirect // and HttpServerDirect modules from HttpTools. // See the INET documentation for StandardHost and the provided examples on how // to assign tcpApps to the module. // // @see HttpServerDirect // @see HttpBrowserDirect // // @author Kristjan V. Jonsson ([email protected]) // module DirectHost { parameters: @networkNode; double numTcpApps = default(0); // The number of tcpApps in the array submodules: tcpApp[numTcpApps]: <> like IHttpDirectApp { parameters: @display("p=163,67;i=block/app"); } }