|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ros.master.uri.StaticMasterUriProvider
public class StaticMasterUriProvider
A MasterUriProvider which will always return the same URI.
| Constructor Summary | |
|---|---|
StaticMasterUriProvider(java.net.URI uri)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticMasterUriProvider(java.net.URI uri)
| Method Detail |
|---|
public java.net.URI getMasterUri()
MasterUriProviderThere 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.
getMasterUri in interface MasterUriProvider
public java.net.URI getMasterUri(long timeout,
java.util.concurrent.TimeUnit unit)
MasterUriProviderThere 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.
getMasterUri in interface MasterUriProvidertimeout - 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 | ||||||||