|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MasterUriProvider
Provides URLs for a ROS master.
Method Summary | |
---|---|
java.net.URI |
getMasterUri()
Get a master URI. |
java.net.URI |
getMasterUri(long timeout,
java.util.concurrent.TimeUnit unit)
Get a master URI within a given amount of time. |
Method Detail |
---|
java.net.URI getMasterUri() throws RosRuntimeException
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
availablejava.net.URI getMasterUri(long timeout, java.util.concurrent.TimeUnit unit)
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 URIunit
- the time unit for the wait time
null
if none could be obtained within the
timeout
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |