public class TrafficReflector
extends java.lang.Object
| Constructor and Description |
|---|
TrafficReflector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
onEvent(TopicDataEvent inEvent,
long receiveTime)
If the inEvent was not published by this traffic reflector, republishes
the event to the traffic generation topic.
|
static void |
usage()
Prints a usage message.
|
public static void usage()
public static void main(java.lang.String[] args)
throws OverlayException,
TopicException,
java.lang.InterruptedException
OverlayExceptionTopicExceptionjava.lang.InterruptedExceptionpublic static void onEvent(TopicDataEvent inEvent, long receiveTime) throws OverlayException, TopicException
inEvent - event receivedTopicExceptionOverlayException