Interface ITickManager

All Superinterfaces:
IGridService

public interface ITickManager extends IGridService
The network tick manager.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    immediately sets the node to tick, only valid if your node is marked as "Alertable" in its TickingRequest Sleeping Devices Still Alertable, when your grid node is alerted its new status is determined by the result of its tick.
    boolean
    disables ticking for your device.
    boolean
    enables ticking for your device, undoes a sleepDevice call.
  • Method Details

    • alertDevice

      boolean alertDevice(IGridNode node)
      immediately sets the node to tick, only valid if your node is marked as "Alertable" in its TickingRequest Sleeping Devices Still Alertable, when your grid node is alerted its new status is determined by the result of its tick.
      Parameters:
      node - gridnode
    • sleepDevice

      boolean sleepDevice(IGridNode node)
      disables ticking for your device.
      Parameters:
      node - gridnode
      Returns:
      if the call was successful.
    • wakeDevice

      boolean wakeDevice(IGridNode node)
      enables ticking for your device, undoes a sleepDevice call.
      Parameters:
      node - gridnode
      Returns:
      if the call was successful.