public class TrafficPublisher
extends java.lang.Object
| Constructor and Description |
|---|
TrafficPublisher() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
onEvent(TopicDataEvent inEvent,
long receiveTimeNano)
If the inEvent was not published by this traffic publisher, calculates
statistics on the packet and logs them to the log file.
|
static void |
usage()
Prints a usage message.
|
public static void usage()
public static void main(java.lang.String[] args)
throws OverlayException,
TopicException,
ComponentException,
java.io.FileNotFoundException,
RegistrationException
OverlayExceptionTopicExceptionComponentExceptionjava.io.FileNotFoundExceptionRegistrationExceptionpublic static void onEvent(TopicDataEvent inEvent, long receiveTimeNano)
inEvent - the received event