HttpDirectHost

Package: inet.node.httptools

HttpDirectHost

compound module

Simple host for the HttpTools project. The node is a simple container for apps. Suitable apps are the HttpBrowserDirect and HttpServerDirect modules from HttpTools.

See also: IHttpDirectApp, HttpServerDirect, HttpBrowserDirect

Author: Kristjan V. Jonsson ([email protected])

IHttpDirectApp

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Parameters

Name Type Default value Description
numApps int 0

The number of apps in the array

Properties

Name Value Description
networkNode

Unassigned submodule parameters

Name Type Default value Description
app.linkSpeed double

Used to model transmission delays.

Source code

//
// Simple host for the HttpTools project. The node is a simple container for apps.
// Suitable apps are the ~HttpBrowserDirect and ~HttpServerDirect modules from HttpTools.
//
// @see ~IHttpDirectApp, ~HttpServerDirect, ~HttpBrowserDirect
//
// @author Kristjan V. Jonsson ([email protected])
//
module HttpDirectHost
{
    parameters:
        @networkNode;
        int numApps = default(0);     // The number of apps in the array
    submodules:
        app[numApps]: <> like IHttpDirectApp {
            parameters:
                @display("p=100,100,row,150;i=block/app");
        }
}

File: src/inet/node/httptools/HttpDirectHost.ned