Public Member Functions | |
GatewayInfoSubscriber () | |
GraphName | getDefaultNodeName () |
String | getGatewayName () |
void | onStart (final ConnectedNode connectedNode) |
void | waitForResponse () throws RosRuntimeException |
Private Attributes | |
ConnectedNode | connectedNode |
String | errorMessage = "" |
String | gatewayName = "" |
MessageListener< GatewayInfo > | listener |
NameResolver | resolver |
Subscriber< GatewayInfo > | subscriber |
Retrieves the gateway name.
Definition at line 17 of file GatewayInfoSubscriber.java.
com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.GatewayInfoSubscriber | ( | ) | [inline] |
Definition at line 25 of file GatewayInfoSubscriber.java.
GraphName com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.getDefaultNodeName | ( | ) | [inline] |
Definition at line 29 of file GatewayInfoSubscriber.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.getGatewayName | ( | ) | [inline] |
Definition at line 33 of file GatewayInfoSubscriber.java.
void com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.onStart | ( | final ConnectedNode | connectedNode | ) | [inline] |
This provides a few ways to create and execute service/topic nodes with an app manager object.
Note - you should only ever call (via NodeMainExecutor.execute() this once! It will fail due to this instance being non-unique in the set of rosjava nodemains for this activity.
connectedNode |
Definition at line 68 of file GatewayInfoSubscriber.java.
void com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.waitForResponse | ( | ) | throws RosRuntimeException [inline] |
Utility function to block until platform info's callback gets processed.
org.ros.exception.RosRuntimeException | : when it times out waiting for the service. |
Definition at line 40 of file GatewayInfoSubscriber.java.
ConnectedNode com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.connectedNode [private] |
Definition at line 19 of file GatewayInfoSubscriber.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.errorMessage = "" [private] |
Definition at line 23 of file GatewayInfoSubscriber.java.
String com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.gatewayName = "" [private] |
Definition at line 22 of file GatewayInfoSubscriber.java.
MessageListener<GatewayInfo> com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.listener [private] |
Definition at line 18 of file GatewayInfoSubscriber.java.
NameResolver com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.resolver [private] |
Definition at line 21 of file GatewayInfoSubscriber.java.
Subscriber<GatewayInfo> com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber.subscriber [private] |
Definition at line 20 of file GatewayInfoSubscriber.java.