@Beta public interface DeviceHandshaker extends DeviceConnect
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
isReachable()
Checks the reachability (connectivity) of a device.
|
CompletableFuture<MastershipRole> |
roleChanged(MastershipRole newRole)
Applies on the device a mastership role change as decided by the core.
|
connect, disconnecthandler, setHandlerCompletableFuture<Boolean> isReachable()
CompletableFuture<MastershipRole> roleChanged(MastershipRole newRole)
newRole - newly determined mastership role