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 Summary
Nested Classes Modifier and Type Class Description static classRegionEvent.Type 
- 
Constructor Summary
Constructors 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
- 
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 typeregion- event region subject
 
- 
RegionEvent
public 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 typeregion- event region subjectdeviceIds- optional set of device ids
 
- 
RegionEvent
public 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 typeregion- event region subjectdeviceIds- optional set of device idstime- occurrence time
 
 - 
 
 -