Package VASSAL.tools.concurrent.listener
Class DotPrinter<T>
java.lang.Object
VASSAL.tools.concurrent.listener.DotPrinter<T>
- All Implemented Interfaces:
EventListener<T>
Prints dots to a stream in response to events.
- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
out
-
-
Constructor Details
-
DotPrinter
Creates aDotPrinter
.- Parameters:
out
- thePrintStream
which receives the dots
-
-
Method Details
-
receive
Receive notification of an event.- Specified by:
receive
in interfaceEventListener<T>
- Parameters:
src
- the source of the eventevent
- the event
-