Package org.onosproject.net.region
Class RegionEvent
- java.lang.Object
- 
- org.onosproject.event.AbstractEvent<RegionEvent.Type,Region>
- 
- org.onosproject.net.region.RegionEvent
 
 
- 
- All Implemented Interfaces:
- Event<RegionEvent.Type,Region>
 
 public class RegionEvent extends AbstractEvent<RegionEvent.Type,Region> Describes region event.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classRegionEvent.Type
 - 
Constructor SummaryConstructors Constructor 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, 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, Set<DeviceId> deviceIds, long time)Creates an event of a given type and for the specified device and time.
 
- 
- 
- 
Constructor Detail- 
RegionEventpublic 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
 
 - 
RegionEventpublic RegionEvent(RegionEvent.Type type, Region region, 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
 
 - 
RegionEventpublic RegionEvent(RegionEvent.Type type, Region region, 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
 
 
- 
 
-