ITokenGenerator
Package: inet.queueing.contract
ITokenGenerator
module interfaceInterface for token generators.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the 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. |
Used in compound modules
| Name | Type | Description |
|---|---|---|
| QueueFiller | compound module |
Produces packets in order to prevent a queue from becoming empty. |
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