ClientHost1

Package: inet.tutorials.protocol

ClientHost1

compound module

(no description)

ActivePacketSource

Usage diagram

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

Used in

Name Type Description
Network1 network (no description)

Properties

Name Value Description
display i=device/pc

Gates

Name Direction Size Description
out output

Unassigned submodule parameters

Name Type Default value Description
app.displayStringTextFormat string "created %p pk (%l)"

determines the text that is written on top of the submodule

app.packetNameFormat string "%a-%c"

see directives in module documentation

app.packetRepresentation string "byteCount"

determines the chunk of the packet data

app.packetLength int
app.packetData int -1
app.attachCreationTimeTag bool true
app.attachIdentityTag bool true
app.attachDirectionTag bool true
app.clockModule string ""

relative path of a module that implements IClock(1,2); optional

app.initialProductionOffset double 0s
app.productionInterval double

elapsed time between subsequent packets pushed to the connected packet consumer

app.scheduleForAbsoluteTime bool true

when a clock is used relative means that setting the clock will not affect the simulation time of the event

Source code

module ClientHost1
{
    parameters:
        @display("i=device/pc");
    gates:
        output out;
    submodules:
        app: ActivePacketSource {
            @display("p=100,100");
        }
    connections:
        app.out --> { @display("m=s"); } --> out;
}

File: tutorials/protocol/Network1.ned