|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinput.MessageEventGenerator
input.MessageBurstGenerator
public class MessageBurstGenerator
Message creation -external events generator. Creates bursts of messages where
every source node (defined with MessageEventGenerator.HOST_RANGE_S
)
creates a new message to every destination node (defined with
MessageEventGenerator.TO_HOST_RANGE_S
)on every interval.
The message size, burst times, and inter-burst intervals can be configured
like with MessageEventGenerator
.
MessageEventGenerator
Field Summary |
---|
Fields inherited from class input.MessageEventGenerator |
---|
HOST_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 Summary | |
---|---|
MessageBurstGenerator(Settings s)
|
Method Summary | |
---|---|
ExternalEvent |
nextEvent()
Returns the next message creation event |
Methods inherited from class input.MessageEventGenerator |
---|
drawHostAddress, drawMessageSize, drawNextEventTimeDiff, drawToAddress, getID, nextEventsTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageBurstGenerator(Settings s)
Method Detail |
---|
public ExternalEvent nextEvent()
nextEvent
in interface EventQueue
nextEvent
in class MessageEventGenerator
EventQueue.nextEvent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |