Class FlowRuleBatchEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<FlowRuleBatchEvent.Type,FlowRuleBatchRequest>
-
- org.onosproject.net.flow.oldbatch.FlowRuleBatchEvent
-
- All Implemented Interfaces:
Event<FlowRuleBatchEvent.Type,FlowRuleBatchRequest>
@Deprecated public final class FlowRuleBatchEvent extends AbstractEvent<FlowRuleBatchEvent.Type,FlowRuleBatchRequest>
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowRuleBatchEvent.Type
Deprecated.Type of flow rule events.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FlowRuleBatchEvent
completed(FlowRuleBatchRequest request, CompletedBatchOperation result)
Deprecated.Constructs a new FlowRuleBatchEvent.DeviceId
deviceId()
Deprecated.Returns the deviceId for this batch.static FlowRuleBatchEvent
requested(FlowRuleBatchRequest request, DeviceId deviceId)
Deprecated.Constructs a new FlowRuleBatchEvent.CompletedBatchOperation
result()
Deprecated.Returns the result of this batch operation.-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type
-
-
-
-
Method Detail
-
requested
public static FlowRuleBatchEvent requested(FlowRuleBatchRequest request, DeviceId deviceId)
Deprecated.Constructs a new FlowRuleBatchEvent.- Parameters:
request
- batch operation requestdeviceId
- the device this batch will be processed on- Returns:
- event.
-
completed
public static FlowRuleBatchEvent completed(FlowRuleBatchRequest request, CompletedBatchOperation result)
Deprecated.Constructs a new FlowRuleBatchEvent.- Parameters:
request
- batch operation request.result
- completed batch operation result.- Returns:
- event.
-
result
public CompletedBatchOperation result()
Deprecated.Returns the result of this batch operation.- Returns:
- batch operation result.
-
deviceId
public DeviceId deviceId()
Deprecated.Returns the deviceId for this batch.- Returns:
- device id
-
-