public interface McastStore extends Store<McastEvent,McastStoreDelegate>
| Modifier and Type | Interface and Description |
|---|---|
static class |
McastStore.Type |
| Modifier and Type | Method and Description |
|---|---|
Set<McastRoute> |
getRoutes()
Gets the set of all known multicast routes.
|
Set<ConnectPoint> |
sinksFor(McastRoute route)
Obtains the sinks for a multicast route.
|
ConnectPoint |
sourceFor(McastRoute route)
Obtains the source for a multicast route.
|
void |
storeRoute(McastRoute route,
McastStore.Type operation)
Updates the store with the route information.
|
void |
storeSink(McastRoute route,
ConnectPoint sink,
McastStore.Type operation)
Updates the store with sink information for a given route.
|
void |
storeSource(McastRoute route,
ConnectPoint source)
Updates the store with source information for the given route.
|
hasDelegate, setDelegate, unsetDelegatevoid storeRoute(McastRoute route, McastStore.Type operation)
route - a multicast routeoperation - an operationvoid storeSource(McastRoute route, ConnectPoint source)
route - a multicast routesource - a sourcevoid storeSink(McastRoute route, ConnectPoint sink, McastStore.Type operation)
route - a multicast routesink - a sinkoperation - an operationConnectPoint sourceFor(McastRoute route)
route - a multicast routeSet<ConnectPoint> sinksFor(McastRoute route)
route - a multicast routeSet<McastRoute> getRoutes()