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