Class MeshNodeAvailabilityChangedEvent

All Implemented Interfaces:
MeshNodeEvent, Serializable

public class MeshNodeAvailabilityChangedEvent extends AbstractMeshNodeEvent
Raised when a MeshNode comes online or goes offline.

Note: It is not always detected when a node goes offline, and, since the node was never observed going offline, when it comes back online no event is raised since its availability was not observed to change. This is an informational event only and is not guaranteed.

Since:
8.0
See Also:
  • Constructor Details

    • MeshNodeAvailabilityChangedEvent

      public MeshNodeAvailabilityChangedEvent(@Nonnull Object source, @Nonnull MeshNode node, boolean available)
  • Method Details

    • isAvailable

      public boolean isAvailable()
      Returns:
      true if the node has come online after being offline; otherwise, false if the node has gone offline after being online