Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Will result in a request over the network the first time it's called; however, subsequent calls will return a cached value.

This is a non-blocking call.

Parameters

None.

Returns

Return TypeDescription
CompletableFuture<String>

A CompletableFuture containing a String with the result.

Will complete exceptionally on any errors with a RequestExeption. The RequestException will contain an error message and code.

...

Will result in a request over the network the first time it's called; however, subsequent calls will return a cached value.

This is a non-blocking call.

Parameters

None.

Returns

Return TypeDescription
CompletableFuture<String>

A CompletableFuture containing a String with the result.

Will complete exceptionally on any errors with a RequestExeption. The RequestException will contain an error message and code.

...

Will result in a request over the network the first time it's called; however, subsequent calls will return a cached value.

This is a non-blocking call.

Parameters

None.

Returns

Return TypeDescription
CompletableFuture<String>

A CompletableFuture containing a String with the result.

Will complete exceptionally on any errors with a RequestExeption. The RequestException will contain an error message and code.

...

Gets the round-trip latency from the Device to the Gateway.

This is a non-blocking call.

Parameters

None.

Returns

Return TypeDescription
Optional<CommandData>

An optional CommandData object, which contains a CompletableFuture<String> of the future result, as well as a cached version of the result since the last call.

The result can contain error codes or messages if any errors occurred.

...