Public Member Functions | Private Attributes
com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber Class Reference
Inheritance diagram for com.github.rosjava.android_apps.application_management.rapp_manager.GatewayInfoSubscriber:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Retrieves the gateway name.

Definition at line 17 of file GatewayInfoSubscriber.java.


Constructor & Destructor Documentation

Definition at line 25 of file GatewayInfoSubscriber.java.


Member Function Documentation

Definition at line 29 of file GatewayInfoSubscriber.java.

Definition at line 33 of file GatewayInfoSubscriber.java.

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.

Parameters:
connectedNode

Definition at line 68 of file GatewayInfoSubscriber.java.

Utility function to block until platform info's callback gets processed.

Exceptions:
org.ros.exception.RosRuntimeException: when it times out waiting for the service.

Definition at line 40 of file GatewayInfoSubscriber.java.


Member Data Documentation

Definition at line 19 of file GatewayInfoSubscriber.java.

Definition at line 23 of file GatewayInfoSubscriber.java.

Definition at line 22 of file GatewayInfoSubscriber.java.

Definition at line 18 of file GatewayInfoSubscriber.java.

Definition at line 21 of file GatewayInfoSubscriber.java.

Definition at line 20 of file GatewayInfoSubscriber.java.


The documentation for this class was generated from the following file:


android_apps
Author(s): Daniel Stonier , Kazuto Murase
autogenerated on Fri Aug 28 2015 10:04:41