[−][src]Module caminos_lib::traffic
Structs
Burst | Initialize an amount of messages to send from each server. The traffic will be considered complete when all servers have generated their messages and all of them have been consumed. |
Homogeneous | Traffic in which all messages have same size, follow the same pattern, and there is no change with time. |
ProductTraffic | Divides the network in blocks and use a |
Reactive | Has a major traffic |
Shifted | Traffic which is another shifted by some amount of servers
First check whether a transformation at the |
SubRangeTraffic | Only allow servers in range will generate messages. The messages can go out of the given range. |
Sum | Traffic which is the sum of a list of oter traffics. While it will clearly work when the sum of the generation rates is at most 1, it should behave nicely enough otherwise. |
TrafficBuilderArgument |
Enums
TrafficError | Possible errors when trying to generate a message with a |
Traits
Traffic | A traffic to be offered to a network. Each server may generate and consume messages.
Each should call |
Functions
new_traffic | Build a new traffic. |