public class RegionEvent extends AbstractEvent<RegionEvent.Type,Region>
Modifier and Type | Class and Description |
---|---|
static class |
RegionEvent.Type |
Constructor and Description |
---|
RegionEvent(RegionEvent.Type type,
Region region)
Creates an event of a given type and for the specified region and the
current time.
|
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.
|
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.
|
subject, time, toString, type
public RegionEvent(RegionEvent.Type type, Region region)
type
- device event typeregion
- event region subjectpublic RegionEvent(RegionEvent.Type type, Region region, java.util.Set<DeviceId> deviceIds)
type
- device event typeregion
- event region subjectdeviceIds
- optional set of device idspublic RegionEvent(RegionEvent.Type type, Region region, java.util.Set<DeviceId> deviceIds, long time)
type
- device event typeregion
- event region subjectdeviceIds
- optional set of device idstime
- occurrence time