Package org.onosproject.cpman.message
Class ControlMessageEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<ControlMessageEvent.Type,java.util.Set<ControlMessage>>
-
- org.onosproject.cpman.message.ControlMessageEvent
-
- All Implemented Interfaces:
Event<ControlMessageEvent.Type,java.util.Set<ControlMessage>>
public class ControlMessageEvent extends AbstractEvent<ControlMessageEvent.Type,java.util.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, java.util.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 java.lang.String
toString()
-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, type
-
-
-
-
Constructor Detail
-
ControlMessageEvent
public ControlMessageEvent(ControlMessageEvent.Type type, java.util.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 java.lang.String toString()
- Overrides:
toString
in classAbstractEvent<ControlMessageEvent.Type,java.util.Set<ControlMessage>>
-
-