public interface RouterService
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(RouterListener listener)
Adds the specified listener to Router manager.
|
boolean |
createRouters(Collection<Router> routers)
Creates new Routers.
|
boolean |
exists(RouterId routerId)
Returns exists or not of specific router identifier.
|
Router |
getRouter(RouterId routerId)
Returns the Router with the specified identifier.
|
Collection<Router> |
getRouters()
Returns a collection of the currently known Routers.
|
void |
removeListener(RouterListener listener)
Removes the specified listener to Router manager.
|
boolean |
removeRouters(Collection<RouterId> routerIds)
Removes the specified Routers from the store.
|
boolean |
updateRouters(Collection<Router> routers)
Updates existing Routers.
|
boolean exists(RouterId routerId)
routerId - router identifierCollection<Router> getRouters()
Router getRouter(RouterId routerId)
routerId - Router identifierboolean createRouters(Collection<Router> routers)
routers - the collection of Routersboolean updateRouters(Collection<Router> routers)
routers - the collection of Routersboolean removeRouters(Collection<RouterId> routerIds)
routerIds - the collection of Routers identifiervoid addListener(RouterListener listener)
listener - Router listenervoid removeListener(RouterListener listener)
listener - Router listener