ITokenGenerator

Package: inet.queueing.contract

module interface ITokenGenerator

Interface for token generators.

Inheritance diagram

Implemented by

Name

Type

Description

PacketBasedTokenGenerator

simple module

Generates tokens into the configured TokenBasedServer for each consumed packet.

QueueBasedTokenGenerator

simple module

Generates tokens for a TokenBasedServer based on the observed state changes of a packet queue. Its primary purpose is to allow applications to produce traffic which completely utilizes a network interface. This is achieved by generating tokens whenever the observed packet queue becomes empty.

SignalBasedTokenGenerator

simple module

Generates tokens for a TokenBasedServer based on received signals.

TimeBasedTokenGenerator

simple module

Generates tokens for a TokenBasedServer repeatedly.

Properties

Name

Value

Description

display

i=block/star

Source code

//
// Interface for token generators.
//
moduleinterface ITokenGenerator
{
    parameters:
        @display("i=block/star");
}

File: src/inet/queueing/contract/ITokenGenerator.ned