Network HttpDirectPair

Package: inet.examples.httptools.direct.pairdirect
File: examples/httptools/direct/pairdirect/dpair.ned

Simple scenario with a pair of nodes. Direct message passing used.

HttpController DirectHost DirectHost

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
isNetwork
display bgb=474,374

Unassigned submodule parameters:

Name Type Default value Description
controller.events string ""

Popularity modification events defintion file.

controller.eventsSection string ""

Section within the popularity modification file, if one is defined.

controller.config xml

XML configuration file.

srv.tcpApp.linkSpeed double

Used to model transmission delays.

cli.tcpApp.linkSpeed double

Used to model transmission delays.

Source code:

//
// Simple scenario with a pair of nodes. Direct message passing used.
//
network HttpDirectPair
{
    parameters:
        @display("bgb=474,374");
    submodules:
        controller: HttpController {
            parameters:
                @display("p=62,60;i=block/cogwheel");
        }
        srv: DirectHost {
            parameters:
                @display("p=170,188;i=device/server_l");
        }
        cli: DirectHost {
            parameters:
                @display("p=316,188;i=device/laptop_l");
        }
    connections allowunconnected:
}