Public Member Functions
org.ros.master.uri.MasterUriProvider Interface Reference
Inheritance diagram for org.ros.master.uri.MasterUriProvider:
Inheritance graph
[legend]

List of all members.

Public Member Functions

URI getMasterUri () throws RosRuntimeException
URI getMasterUri (long timeout, TimeUnit unit)

Detailed Description

Provides URLs for a ROS master.

Author:
Keith M. Hughes

Definition at line 29 of file MasterUriProvider.java.


Member Function Documentation

Get a master URI.

There is no guarantee that calling this class twice will provide the same URI.

This call may or may not block until a URI is available.

Returns:
a master URI
Exceptions:
RosRuntimeExceptionthis exception may or may not be thrown if there is no master URI available

Implemented in org.ros.master.uri.SwitchableMasterUriProvider, and org.ros.master.uri.StaticMasterUriProvider.

URI org.ros.master.uri.MasterUriProvider.getMasterUri ( long  timeout,
TimeUnit  unit 
)

Get a master URI within a given amount of time.

There is no guarantee that calling this class twice will provide the same URI.

This call may or may not block until a URI is available.

Parameters:
timeoutthe amount of time to wait for a URI
unitthe time unit for the wait time
Returns:
a master URI or
 null 
if none could be obtained within the timeout

Implemented in org.ros.master.uri.SwitchableMasterUriProvider, and org.ros.master.uri.StaticMasterUriProvider.


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


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:51