Public Member Functions | |
GraphName | getDefaultNodeName () |
PlatformInfo | getPlatformInfo () |
String | getRobotAppManagerNamespace () |
Icon | getRobotIcon () |
String | getRobotType () |
String | getRobotUniqueName () |
void | onStart (final ConnectedNode connectedNode) |
PlatformInfoServiceClient (String namespace) | |
PlatformInfoServiceClient () | |
void | waitForResponse () throws ServiceNotFoundException |
Private Member Functions | |
void | _createListeners () |
Private Attributes | |
ConnectedNode | connectedNode |
String | errorMessage = "" |
PlatformInfo | platformInfo |
ServiceResponseListener < GetPlatformInfoResponse > | platformInfoListener |
String | robotUniqueName |
Communicates with the robot app manager and determines various facets of the platform information. Actually does a bit more than platform info.
Definition at line 31 of file PlatformInfoServiceClient.java.
com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.PlatformInfoServiceClient | ( | String | namespace | ) | [inline] |
Configures the service client.
namespace | : namespace for the app manager's services |
Definition at line 44 of file PlatformInfoServiceClient.java.
Definition at line 49 of file PlatformInfoServiceClient.java.
void com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient._createListeners | ( | ) | [inline, private] |
Definition at line 51 of file PlatformInfoServiceClient.java.
GraphName com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.getDefaultNodeName | ( | ) | [inline] |
This is unused, but abstract, so have to override.
Definition at line 185 of file PlatformInfoServiceClient.java.
PlatformInfo com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.getPlatformInfo | ( | ) | [inline] |
Definition at line 89 of file PlatformInfoServiceClient.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.getRobotAppManagerNamespace | ( | ) | [inline] |
Definition at line 93 of file PlatformInfoServiceClient.java.
Icon com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.getRobotIcon | ( | ) | [inline] |
Definition at line 109 of file PlatformInfoServiceClient.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.getRobotType | ( | ) | [inline] |
Definition at line 105 of file PlatformInfoServiceClient.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.getRobotUniqueName | ( | ) | [inline] |
Robot unique name is simply the unadorned app manager namespace (i.e. no '/').
Definition at line 101 of file PlatformInfoServiceClient.java.
void com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.onStart | ( | final ConnectedNode | connectedNode | ) | [inline] |
This gets executed by the nodeMainExecutor. Note that any exception handling here will set an error message that can be picked up when calling the waitForResponse() method.
connectedNode |
Definition at line 120 of file PlatformInfoServiceClient.java.
void com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.waitForResponse | ( | ) | throws ServiceNotFoundException [inline] |
Utility function to block until platform info's callback gets processed.
ServiceNotFoundException | : when it times out waiting for the service. |
Definition at line 71 of file PlatformInfoServiceClient.java.
ConnectedNode com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.connectedNode [private] |
Definition at line 36 of file PlatformInfoServiceClient.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.errorMessage = "" [private] |
Definition at line 37 of file PlatformInfoServiceClient.java.
PlatformInfo com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.platformInfo [private] |
Definition at line 35 of file PlatformInfoServiceClient.java.
ServiceResponseListener<GetPlatformInfoResponse> com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.platformInfoListener [private] |
Definition at line 34 of file PlatformInfoServiceClient.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.PlatformInfoServiceClient.robotUniqueName [private] |
Definition at line 32 of file PlatformInfoServiceClient.java.