ITokenGenerator¶
Package: inet.queueing.contract
module interface ITokenGenerator
Interface for token generators.
Inheritance diagram¶
Implemented by¶
Name |
Type |
Description |
|---|---|---|
simple module |
Generates tokens into the configured TokenBasedServer for each consumed packet. |
|
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. |
|
simple module |
Generates tokens for a TokenBasedServer based on received signals. |
|
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");
}