Package org.onosproject.net.mcast
Interface MulticastRouteService
-
- All Superinterfaces:
ListenerService<McastEvent,McastListener>
@Deprecated public interface MulticastRouteService extends ListenerService<McastEvent,McastListener>
Deprecated.in 1.11 ("Loon") release. To be moved into an app.A service interface for maintaining multicast information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
add(McastRoute route)
Deprecated.Adds a route to the information base.void
addSink(McastRoute route, ConnectPoint connectPoint)
Deprecated.Adds a sink to the route to which a data stream should be sent to.void
addSource(McastRoute route, ConnectPoint connectPoint)
Deprecated.Adds a source connection to the route from where the data stream is originating.java.util.Set<ConnectPoint>
fetchSinks(McastRoute route)
Deprecated.Find the list of sinks for this route.ConnectPoint
fetchSource(McastRoute route)
Deprecated.Find the data source association for this multicast route.java.util.Set<McastRoute>
getRoutes()
Deprecated.Gets all multicast routes in the system.void
remove(McastRoute route)
Deprecated.Removes a route from the information base.void
removeSink(McastRoute route, ConnectPoint connectPoint)
Deprecated.Removes a sink from the route.-
Methods inherited from interface org.onosproject.event.ListenerService
addListener, removeListener
-
-
-
-
Method Detail
-
add
void add(McastRoute route)
Deprecated.Adds a route to the information base.- Parameters:
route
- a multicast route
-
remove
void remove(McastRoute route)
Deprecated.Removes a route from the information base.- Parameters:
route
- a multicast route
-
getRoutes
java.util.Set<McastRoute> getRoutes()
Deprecated.Gets all multicast routes in the system.- Returns:
- set of multicast routes
-
addSource
void addSource(McastRoute route, ConnectPoint connectPoint)
Deprecated.Adds a source connection to the route from where the data stream is originating.- Parameters:
route
- the multicast routeconnectPoint
- a source connect point
-
addSink
void addSink(McastRoute route, ConnectPoint connectPoint)
Deprecated.Adds a sink to the route to which a data stream should be sent to.- Parameters:
route
- a multicast routeconnectPoint
- a sink connect point
-
removeSink
void removeSink(McastRoute route, ConnectPoint connectPoint)
Deprecated.Removes a sink from the route.- Parameters:
route
- the multicast routeconnectPoint
- a sink connect point
-
fetchSource
ConnectPoint fetchSource(McastRoute route)
Deprecated.Find the data source association for this multicast route.- Parameters:
route
- a multicast route- Returns:
- a connect point
-
fetchSinks
java.util.Set<ConnectPoint> fetchSinks(McastRoute route)
Deprecated.Find the list of sinks for this route.- Parameters:
route
- a multicast route- Returns:
- a list of connect points
-
-