Package org.onosproject.net.flow
Class FlowRuleEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<FlowRuleEvent.Type,FlowRule>
-
- org.onosproject.net.flow.FlowRuleEvent
-
- All Implemented Interfaces:
Event<FlowRuleEvent.Type,FlowRule>
public class FlowRuleEvent extends AbstractEvent<FlowRuleEvent.Type,FlowRule>
Describes flow rule event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowRuleEvent.Type
Type of flow rule events.
-
Constructor Summary
Constructors Constructor Description FlowRuleEvent(FlowRuleEvent.Type type, FlowRule flowRule)
Creates an event of a given type and for the specified flow rule and the current time.FlowRuleEvent(FlowRuleEvent.Type type, FlowRule flowRule, long time)
Creates an event of a given type and for the specified flow rule and time.
-
-
-
Constructor Detail
-
FlowRuleEvent
public FlowRuleEvent(FlowRuleEvent.Type type, FlowRule flowRule)
Creates an event of a given type and for the specified flow rule and the current time.- Parameters:
type
- flow rule event typeflowRule
- event flow rule subject
-
FlowRuleEvent
public FlowRuleEvent(FlowRuleEvent.Type type, FlowRule flowRule, long time)
Creates an event of a given type and for the specified flow rule and time.- Parameters:
type
- flow rule event typeflowRule
- event flow rule subjecttime
- occurrence time
-
-