TelnetTutorialStep

Package: inet.tutorials.queueing

TelnetTutorialStep

network

(no description)

TelnetClientTraffic TelnetServerTraffic

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

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

determines the text that is written on top of the submodule

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

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