public static enum Util.PacketType extends Enum<Util.PacketType>
| Enum Constant and Description |
|---|
BEAT
Announces a beat has been played in a rekordbox-analyzed track, with lots of useful synchronization
information.
|
CDJ_STATUS
A status update from a player, with a great many status flags, pitch, tempo, and beat-within-bar details.
|
CHANNELS_ON_AIR
Used by the mixer to tell the players which channels are on and off the air.
|
DEVICE_KEEP_ALIVE
Used to report that a device is still present on the DJ Link network.
|
FADER_START_COMMAND
Used by the mixer to tell a set of players to start and/or stop playing.
|
LOAD_TRACK_ACK
A response indicating that the specified track is being loaded.
|
LOAD_TRACK_COMMAND
A command to load a particular track; usually sent by rekordbox.
|
MASTER_HANDOFF_REQUEST
Used by an incoming tempo master to ask the current tempo master to relinquish that role.
|
MASTER_HANDOFF_RESPONSE
Used by the active tempo master to respond to a request to relinquish that role.
|
MEDIA_QUERY
Used to ask a player for information about the media mounted in a slot.
|
MEDIA_RESPONSE
The response sent when a Media Query is received.
|
MIXER_STATUS
A status update from the mixer, with status flags, pitch, and tempo, and beat-within-bar information.
|
SYNC_CONTROL
Used to tell a player to turn sync on or off, or that it should become the tempo master.
|
| Modifier and Type | Field and Description |
|---|---|
String |
name
The name by which we describe this kind of packet.
|
int |
port
The port on which this kind of packet is received.
|
byte |
protocolValue
The value that appears in the type byte which identifies this type of packet.
|
| Modifier and Type | Method and Description |
|---|---|
static Util.PacketType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Util.PacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Util.PacketType FADER_START_COMMAND
public static final Util.PacketType CHANNELS_ON_AIR
public static final Util.PacketType MEDIA_QUERY
public static final Util.PacketType MEDIA_RESPONSE
public static final Util.PacketType DEVICE_KEEP_ALIVE
public static final Util.PacketType CDJ_STATUS
public static final Util.PacketType LOAD_TRACK_COMMAND
public static final Util.PacketType LOAD_TRACK_ACK
public static final Util.PacketType MASTER_HANDOFF_REQUEST
public static final Util.PacketType MASTER_HANDOFF_RESPONSE
public static final Util.PacketType BEAT
public static final Util.PacketType MIXER_STATUS
public static final Util.PacketType SYNC_CONTROL
public final byte protocolValue
public final String name
public final int port
public static Util.PacketType[] values()
for (Util.PacketType c : Util.PacketType.values()) System.out.println(c);
public static Util.PacketType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016–2018 Deep Symmetry, LLC. All rights reserved.