Package org.deepsymmetry.beatlink.data
Class DeckReference
- java.lang.Object
-
- org.deepsymmetry.beatlink.data.DeckReference
-
public class DeckReference extends Object
Uniquely identifies a place where a track can be currently loaded on the network, either the visible deck of one of the players, or one of the hot cues on a player. Used to keep track of which tracks may suddenly start playing.- Author:
- James Elliott
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeckReference
getDeckReference(int player, int hotCue)
Get a unique reference to a place where a track is currently loaded in a player.String
toString()
-
-
-
Method Detail
-
getDeckReference
public static DeckReference getDeckReference(int player, int hotCue)
Get a unique reference to a place where a track is currently loaded in a player.- Parameters:
player
- the player in which the track is loadedhotCue
- hot cue number in which the track is loaded, or 0 if it is actively loaded on the playback deck- Returns:
- the instance that will always represent a reference to the specified player and hot cue
-
-