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.IOException
public void handleTick(int millis)
MetronomeListener
handleTick
in interface MetronomeListener
millis
- The number of milliseconds since the Metronome started