public class FtcLynxModuleAddressUpdateActivity
extends EditActivity
FtcLynxModuleAddressUpdateActivity
provides a means by which users can update
the (persistently stored) address of a Lynx ModuleModifier and Type | Class and Description |
---|---|
protected class |
FtcLynxModuleAddressUpdateActivity.AddressAndDisplayName |
protected class |
FtcLynxModuleAddressUpdateActivity.AddressConfiguration |
protected class |
FtcLynxModuleAddressUpdateActivity.DisplayedModule |
protected class |
FtcLynxModuleAddressUpdateActivity.DisplayedModuleList |
protected class |
FtcLynxModuleAddressUpdateActivity.ReceiveLoopCallback |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.BlockingQueue<CommandList.USBAccessibleLynxModulesResp> |
availableLynxModules |
protected java.util.List<USBAccessibleLynxModule> |
currentModules |
protected FtcLynxModuleAddressUpdateActivity.DisplayedModuleList |
displayedModuleList |
protected int |
msResponseWait |
protected NetworkConnectionHandler |
networkConnectionHandler |
protected RecvLoopRunnable.RecvLoopCallback |
recvLoopCallback |
static java.lang.String |
TAG |
Constructor and Description |
---|
FtcLynxModuleAddressUpdateActivity() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
awaitResponse(java.util.concurrent.BlockingQueue<T> queue,
T defaultResponse) |
protected <T> T |
awaitResponse(java.util.concurrent.BlockingQueue<T> queue,
T defaultResponse,
long time,
java.util.concurrent.TimeUnit timeUnit) |
protected void |
doBackOrCancel() |
java.lang.String |
getTag() |
protected java.util.List<USBAccessibleLynxModule> |
getUSBAccessibleLynxModules() |
protected boolean |
isDirty() |
void |
onBackPressed() |
void |
onCancelButtonPressed(android.view.View view) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onDoneButtonPressed(android.view.View view) |
protected void |
onStart() |
public static final java.lang.String TAG
protected NetworkConnectionHandler networkConnectionHandler
protected RecvLoopRunnable.RecvLoopCallback recvLoopCallback
protected int msResponseWait
protected java.util.concurrent.BlockingQueue<CommandList.USBAccessibleLynxModulesResp> availableLynxModules
protected java.util.List<USBAccessibleLynxModule> currentModules
protected FtcLynxModuleAddressUpdateActivity.DisplayedModuleList displayedModuleList
public java.lang.String getTag()
protected void onCreate(android.os.Bundle savedInstanceState)
protected void onStart()
protected void onDestroy()
protected boolean isDirty()
public void onDoneButtonPressed(android.view.View view)
public void onCancelButtonPressed(android.view.View view)
public void onBackPressed()
protected void doBackOrCancel()
protected java.util.List<USBAccessibleLynxModule> getUSBAccessibleLynxModules()
protected <T> T awaitResponse(java.util.concurrent.BlockingQueue<T> queue, T defaultResponse)
protected <T> T awaitResponse(java.util.concurrent.BlockingQueue<T> queue, T defaultResponse, long time, java.util.concurrent.TimeUnit timeUnit)