Uses of Class
org.deepsymmetry.beatlink.Util.PacketType
-
Packages that use Util.PacketType 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. -
-
Uses of Util.PacketType in org.deepsymmetry.beatlink
Fields in org.deepsymmetry.beatlink with type parameters of type Util.PacketType Modifier and Type Field 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.Methods in org.deepsymmetry.beatlink that return Util.PacketType Modifier and Type Method 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.Methods in org.deepsymmetry.beatlink with parameters of type Util.PacketType Modifier and Type Method 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.
-