Interface BasicSystemOperations

  • All Superinterfaces:
    Behaviour, HandlerBehaviour

    public interface BasicSystemOperations
    extends HandlerBehaviour
    Handler behaviour capable of device reboot execution and getting system time since UNIX epoch.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.lang.Boolean> reboot()
      Causes the target to reboot immediately.
      java.util.concurrent.CompletableFuture<java.lang.Long> time()
      Returns the current time on the target.
    • Method Detail

      • reboot

        java.util.concurrent.CompletableFuture<java.lang.Boolean> reboot()
        Causes the target to reboot immediately.
        Returns:
        true if the operation was successful, false otherwise
      • time

        java.util.concurrent.CompletableFuture<java.lang.Long> time()
        Returns the current time on the target.
        Returns:
        Current time in nanoseconds since UNIX epoch.