|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinput.MessageEventGenerator
input.OneFromEachMessageGenerator
public class OneFromEachMessageGenerator
Message creation -external events generator. Creates one message from
every source node (defined with MessageEventGenerator.HOST_RANGE_S
)
to one of the 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 every from-node has
created a message.
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 | |
---|---|
OneFromEachMessageGenerator(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 OneFromEachMessageGenerator(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 |