Class RegionEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RegionEvent.Type  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RegionEvent

        public RegionEvent​(RegionEvent.Type type,
                           Region region)
        Creates an event of a given type and for the specified region and the current time.
        Parameters:
        type - device event type
        region - event region subject
      • RegionEvent

        public RegionEvent​(RegionEvent.Type type,
                           Region region,
                           java.util.Set<DeviceId> deviceIds)
        Creates an event of a given type and for the specified region, device id list and the current time.
        Parameters:
        type - device event type
        region - event region subject
        deviceIds - optional set of device ids
      • RegionEvent

        public RegionEvent​(RegionEvent.Type type,
                           Region region,
                           java.util.Set<DeviceId> deviceIds,
                           long time)
        Creates an event of a given type and for the specified device and time.
        Parameters:
        type - device event type
        region - event region subject
        deviceIds - optional set of device ids
        time - occurrence time