public class UDPMetronomeBroadcaster extends java.lang.Object implements MetronomeListener
| Constructor and Description |
|---|
UDPMetronomeBroadcaster(int port)
Explicit Value Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleTick(int millis)
Handle a Metronome tick
|
public UDPMetronomeBroadcaster(int port)
throws java.io.IOException
port - The UDP port to broadcast tojava.io.IOExceptionpublic void handleTick(int millis)
MetronomeListenerhandleTick in interface MetronomeListenermillis - The number of milliseconds since the Metronome started