public class TrackingControlComms
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
announceDeSelection(java.lang.String trackingTableIdentity)
Announce de selection.
|
void |
announcePointingGesture(PointDirection pointDirection)
Announce pointing gesture.
|
void |
announceSelection(java.lang.String trackingTableIdentity)
Announce selection.
|
void |
broadcastUserLocations(UserLocations userLocations)
Broadcast user locations.
|
static TrackingControlComms |
get()
Gets the.
|
TrackingDeviceControl |
getDeviceForName(java.lang.String device)
Gets the device for name.
|
java.util.List<java.lang.String> |
getMultiplexersList()
Gets the multiplexers list.
|
int |
getNumberOfTrackersOnline()
Get the number of all the devices connected to the network cluster of
'trackers' type.
|
java.util.List<java.lang.String> |
getTablesList()
Gets the tables list.
|
java.util.List<java.lang.String> |
getTrackersList()
Gets the trackers list.
|
void |
sendColourToSpecifcTracker(java.lang.String message,
java.lang.String device)
Send colour to specifc tracker.
|
void |
sendTeacherStatusToSpecifcTracker(java.lang.String message,
java.lang.String device)
Send teacher status to specifc tracker.
|
void |
sendUserLocationsToAllTables(java.util.ArrayList<CombinedUserEntity> users)
Send user locations to all tables.
|
void |
setAllTablesSelectedModeEnabled(PerformActionMessage message)
Sets the all tables selected mode enabled.
|
void |
setGestureControlBroadcast(int userID,
java.lang.String localDevice)
Sets the gesture control broadcast.
|
void |
setIndividualTableSelectModeEnabled(PerformActionMessage message)
Sets the individual table select mode enabled.
|
void |
setTableSelectdModeDisabled(PerformActionMessage message)
Sets the table selectd mode disabled.
|
void |
updateTeacherStatus(java.lang.String message)
Update teacher status.
|
public static TrackingControlComms get()
public void announceDeSelection(java.lang.String trackingTableIdentity)
trackingTableIdentity - the tracking table identitypublic void announcePointingGesture(PointDirection pointDirection)
pointDirection - the point directionpublic void announceSelection(java.lang.String trackingTableIdentity)
trackingTableIdentity - the tracking table identitypublic void broadcastUserLocations(UserLocations userLocations)
userLocations - the user locationspublic TrackingDeviceControl getDeviceForName(java.lang.String device)
device - the devicepublic java.util.List<java.lang.String> getMultiplexersList()
public int getNumberOfTrackersOnline()
public java.util.List<java.lang.String> getTablesList()
public java.util.List<java.lang.String> getTrackersList()
public void sendColourToSpecifcTracker(java.lang.String message,
java.lang.String device)
message - the messagedevice - the devicepublic void sendTeacherStatusToSpecifcTracker(java.lang.String message,
java.lang.String device)
message - the messagedevice - the devicepublic void sendUserLocationsToAllTables(java.util.ArrayList<CombinedUserEntity> users)
users - the userspublic void setAllTablesSelectedModeEnabled(PerformActionMessage message)
message - the new all tables selected mode enabledpublic void setGestureControlBroadcast(int userID,
java.lang.String localDevice)
userID - the user idlocalDevice - the local devicepublic void setIndividualTableSelectModeEnabled(PerformActionMessage message)
message - the new individual table select mode enabledpublic void setTableSelectdModeDisabled(PerformActionMessage message)
message - the new table selectd mode disabledpublic void updateTeacherStatus(java.lang.String message)
message - the message