TelnetTutorialStep

Package: inet.tutorials.queueing

TelnetTutorialStep

network

(no description)

client : TelnetClientTraffic

Source:
client: TelnetClientTraffic {
    @display("p=100,100");
} server : TelnetServerTraffic

Source:
server: TelnetServerTraffic {
    @display("p=300,100");
}

Usage diagram

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

Properties

Name Value Description
isNetwork
display bgb=400,200

Unassigned submodule parameters

Name Type Default value Description
server.cloner.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

server.multiplexer.displayStringTextFormat string "passed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

server.multiplexer.forwardServiceRegistration bool true
server.multiplexer.forwardProtocolRegistration bool true
server.enterTokenGenerator.displayStringTextFormat string "processed %p pk (%l)\ngenerated %t tk\nto %s"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

server.enterTokenGenerator.storageModule string "^.responseServer"

Module path of the token storage where the tokens are generated via C++ method call

server.enterTokenGenerator.numTokensPerPacket double 1

Number of tokens per consumed packet

server.enterTokenGenerator.numTokensPerBit double 0

Number of tokens per consumed bit

Source code

network TelnetTutorialStep
{
    @display("bgb=400,200");
    submodules:
        client: TelnetClientTraffic {
            @display("p=100,100");
        }
        server: TelnetServerTraffic {
            @display("p=300,100");
        }
    connections:
        client.out --> server.in;
        client.in <-- server.out;
}

//-------------------------------------------------


File: tutorials/queueing/QueueingTutorial.ned