Public Member Functions | |
URI | getMasterUri () |
URI | getMasterUri (long timeout, TimeUnit unit) |
StaticMasterUriProvider (URI uri) | |
Private Attributes | |
final URI | uri |
A MasterUriProvider which will always return the same URI.
Definition at line 27 of file StaticMasterUriProvider.java.
org.ros.master.uri.StaticMasterUriProvider.StaticMasterUriProvider | ( | URI | uri | ) | [inline] |
Definition at line 34 of file StaticMasterUriProvider.java.
URI org.ros.master.uri.StaticMasterUriProvider.getMasterUri | ( | ) | [inline] |
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.
RosRuntimeException | this exception may or may not be thrown if there is no master URI available |
Implements org.ros.master.uri.MasterUriProvider.
Definition at line 39 of file StaticMasterUriProvider.java.
URI org.ros.master.uri.StaticMasterUriProvider.getMasterUri | ( | long | timeout, |
TimeUnit | unit | ||
) | [inline] |
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.
timeout | the amount of time to wait for a URI |
unit | the time unit for the wait time |
null
Implements org.ros.master.uri.MasterUriProvider.
Definition at line 44 of file StaticMasterUriProvider.java.
final URI org.ros.master.uri.StaticMasterUriProvider.uri [private] |
The URI which will always be returned.
Definition at line 32 of file StaticMasterUriProvider.java.