Package org.onosproject.net.mcast
Class McastEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<McastEvent.Type,McastRouteInfo>
-
- org.onosproject.net.mcast.McastEvent
-
- All Implemented Interfaces:
Event<McastEvent.Type,McastRouteInfo>
@Deprecated public class McastEvent extends AbstractEvent<McastEvent.Type,McastRouteInfo>
Deprecated.in 1.11 ("Loon") release. To be moved into an app.An entity representing a multicast event. Event either add or remove sinks or sources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMcastEvent.TypeDeprecated.
-
Constructor Summary
Constructors Constructor Description McastEvent(McastEvent.Type type, McastRouteInfo subject)Deprecated.Creates a McastEvent of a given type using the subject.McastEvent(McastEvent.Type type, McastRouteInfo subject, McastRouteInfo prevSubject)Deprecated.Creates a McastEvent of a given type using the subject and the previous subject.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object other)Deprecated.inthashCode()Deprecated.McastRouteInfoprevSubject()Deprecated.Gets the previous subject in this mcast event.StringtoString()Deprecated.-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, type
-
-
-
-
Constructor Detail
-
McastEvent
public McastEvent(McastEvent.Type type, McastRouteInfo subject)
Deprecated.Creates a McastEvent of a given type using the subject.- Parameters:
type- the event typesubject- the subject of the event type
-
McastEvent
public McastEvent(McastEvent.Type type, McastRouteInfo subject, McastRouteInfo prevSubject)
Deprecated.Creates a McastEvent of a given type using the subject and the previous subject.- Parameters:
type- the event typesubject- the subject of the eventprevSubject- the previous subject of the event
-
-
Method Detail
-
prevSubject
public McastRouteInfo prevSubject()
Deprecated.Gets the previous subject in this mcast event.- Returns:
- the previous subject, or null if previous subject is not specified.
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classAbstractEvent<McastEvent.Type,McastRouteInfo>
-
-