Module Interface IHttpDirectApp

Package: inet.applications.httptools.common
File: src/inet/applications/httptools/common/IHttpDirectApp.ned

Interface for HTTP server and browser models that communicate directly, without lower layer protocols. This module is intended for use with the DirectHost module and plugs in as a tcpApp.

See also: HttpServerBase

See also: HttpServer

See also: DirectHost

Author: Kristjan V. Jonsson

IHttpDirectApp

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.

Used in compound modules:

Name Type Description
DirectHost compound module

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.

Parameters:

Name Type Default value Description
linkSpeed double

Used to model transmission delays.

Source code:

//
// Interface for HTTP server and browser models that communicate directly,
// without lower layer protocols. This module is intended for use with the
// DirectHost module and plugs in as a tcpApp.
//
// @see HttpServerBase
// @see HttpServer
// @see DirectHost
//
// @author  Kristjan V. Jonsson
//
moduleinterface IHttpDirectApp
{
    parameters:
        double linkSpeed @unit(bps);  // Used to model transmission delays.
    gates:
        input httpIn @directIn;
}