| Package | Description |
|---|---|
| org.deepsymmetry.beatlink |
A library for synchronizing with beats from Pioneer DJ Link equipment,
and finding out details about the tracks that are playing.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,Map<Byte,Util.PacketType>> |
Util.PACKET_TYPE_MAP
Allows a known packet type to be looked up given the port number it was received on and the packet type byte.
|
| Modifier and Type | Method and Description |
|---|---|
static Util.PacketType |
Util.validateHeader(DatagramPacket packet,
int port)
Check to see whether a packet starts with the standard header bytes, followed by a known byte identifying it.
|
static Util.PacketType |
Util.PacketType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Util.PacketType[] |
Util.PacketType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static DatagramPacket |
Util.buildPacket(Util.PacketType type,
ByteBuffer deviceName,
ByteBuffer payload)
Build a standard-format UDP packet for sending to port 50001 or 50002 in the protocol.
|
Copyright © 2016–2018 Deep Symmetry, LLC. All rights reserved.