public class OneToEachMessageGenerator extends MessageEventGenerator
MessageEventGenerator.HOST_RANGE_S)
to all destination nodes (defined with
MessageEventGenerator.TO_HOST_RANGE_S).
The message size, first messages time and the intervals between creating
messages can be configured like with MessageEventGenerator. End
time is not respected, but messages are created until there's a message for
every destination node.MessageEventGeneratorHOST_RANGE_S, hostRange, idPrefix, MESSAGE_ID_PREFIX_S, MESSAGE_INTERVAL_S, MESSAGE_SIZE_S, MESSAGE_TIME_S, msgTime, nextEventsTime, rng, TO_HOST_RANGE_S, toHostRange| Constructor and Description |
|---|
OneToEachMessageGenerator(Settings s) |
| Modifier and Type | Method and Description |
|---|---|
ExternalEvent |
nextEvent()
Returns the next message creation event
|
drawHostAddress, drawMessageSize, drawNextEventTimeDiff, drawToAddress, getID, nextEventsTimepublic OneToEachMessageGenerator(Settings s)
public ExternalEvent nextEvent()
nextEvent in interface EventQueuenextEvent in class MessageEventGeneratorEventQueue.nextEvent()