Uses of Class
com.yahoo.messagebus.routing.RoutingTableSpec
-
Packages that use RoutingTableSpec Package Description com.yahoo.messagebus.network.rpc.test This package contains utility classes for the unit tests in the com.yahoo.messagebus.network.rpc package.com.yahoo.messagebus.routing This package contains all classes and interfaces that concern routing over message bus. -
-
Uses of RoutingTableSpec in com.yahoo.messagebus.network.rpc.test
Methods in com.yahoo.messagebus.network.rpc.test with parameters of type RoutingTableSpec Modifier and Type Method Description void
TestServer. setupRouting(RoutingTableSpec table)
Proxies theMessageBus.setupRouting(RoutingSpec)
method by encapsulating the given table specification within the requiredRoutingSpec
.Constructors in com.yahoo.messagebus.network.rpc.test with parameters of type RoutingTableSpec Constructor Description TestServer(java.lang.String name, RoutingTableSpec table, com.yahoo.jrt.slobrok.server.Slobrok slobrok, Protocol protocol)
Create a new test server. -
Uses of RoutingTableSpec in com.yahoo.messagebus.routing
Methods in com.yahoo.messagebus.routing that return RoutingTableSpec Modifier and Type Method Description RoutingTableSpec
RoutingTableSpec. addHop(HopSpec hop)
Adds the given hop spec to this.RoutingTableSpec
RoutingTableSpec. addHop(java.lang.String name, java.lang.String selector, java.util.List<java.lang.String> recipients)
A convenience function to add a new hop to this routing table.RoutingTableSpec
RoutingTableSpec. addRoute(RouteSpec route)
Adds a route spec to this.RoutingTableSpec
RoutingTableSpec. addRoute(java.lang.String name, java.util.List<java.lang.String> hops)
A convenience function to add a new route to this routing table.RoutingTableSpec
RoutingTableSpec. clearHops()
Clears the list of hop specs contained in this.RoutingTableSpec
RoutingTableSpec. clearRoutes()
Clears the list of routes that are contained in this.RoutingTableSpec
RoutingSpec. getTable(int i)
Returns the routing table spec at the given index.RoutingTableSpec
RoutingSpec. removeTable(int i)
Returns the routing table spec at the given index.RoutingTableSpec
RoutingTableSpec. setHop(int i, HopSpec hop)
Sets the hop spec at the given index.RoutingTableSpec
RoutingTableSpec. setRoute(int i, RouteSpec route)
Sets the route spec at the given index.Methods in com.yahoo.messagebus.routing with parameters of type RoutingTableSpec Modifier and Type Method Description RoutingSpec
RoutingSpec. addTable(RoutingTableSpec table)
Adds a routing table spec to the list of tables.RoutingSpec
RoutingSpec. setTable(int i, RoutingTableSpec table)
Sets the routing table spec at the given index.boolean
HopSpec. verify(ApplicationSpec app, RoutingTableSpec table, java.util.List<java.lang.String> errors)
Verifies the content of this against the given application.boolean
RouteSpec. verify(ApplicationSpec app, RoutingTableSpec table, java.util.List<java.lang.String> errors)
Verifies the content of this against the given application.Constructors in com.yahoo.messagebus.routing with parameters of type RoutingTableSpec Constructor Description RoutingTable(RoutingTableSpec spec)
Creates a new routing table based on a given specification.RoutingTableSpec(RoutingTableSpec obj)
Implements the copy constructor.
-