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 class
McastEvent.Type
Deprecated.
-
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 boolean
equals(Object other)
Deprecated.int
hashCode()
Deprecated.McastRouteInfo
prevSubject()
Deprecated.Gets the previous subject in this mcast event.String
toString()
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:
toString
in classAbstractEvent<McastEvent.Type,McastRouteInfo>
-
-