|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinput.MessageEventGenerator
input.OneToEachMessageGenerator
public class OneToEachMessageGenerator
Message creation -external events generator. Creates one message from
source node/nodes (defined with 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.
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 | |
|---|---|
OneToEachMessageGenerator(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 OneToEachMessageGenerator(Settings s)
| Method Detail |
|---|
public ExternalEvent nextEvent()
nextEvent in interface EventQueuenextEvent in class MessageEventGeneratorEventQueue.nextEvent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||