Package org.onosproject.cpman.message
Class ControlMessageEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<ControlMessageEvent.Type,Set<ControlMessage>>
-
- org.onosproject.cpman.message.ControlMessageEvent
-
- All Implemented Interfaces:
Event<ControlMessageEvent.Type,Set<ControlMessage>>
public class ControlMessageEvent extends AbstractEvent<ControlMessageEvent.Type,Set<ControlMessage>>
Describes control message event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ControlMessageEvent.Type
Type of control message events.
-
Constructor Summary
Constructors Constructor Description ControlMessageEvent(ControlMessageEvent.Type type, Set<ControlMessage> controlMessages)
Creates an event of given type and the current time.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, type
-
-
-
-
Constructor Detail
-
ControlMessageEvent
public ControlMessageEvent(ControlMessageEvent.Type type, Set<ControlMessage> controlMessages)
Creates an event of given type and the current time.- Parameters:
type
- control message event typecontrolMessages
- event control message subject
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classAbstractEvent<ControlMessageEvent.Type,Set<ControlMessage>>
-
-