Uses of Class
com.yahoo.messagebus.routing.Route
Packages that use Route
Package
Description
This package contains the main API of the message bus.
This package contains an RPC implementation of the Network interface declared in the com.yahoo.messagebus.network package.
This package contains all classes and interfaces that concern routing over message bus.
-
Uses of Route in com.yahoo.messagebus
Methods in com.yahoo.messagebus that return RouteMethods in com.yahoo.messagebus with parameters of type RouteModifier and TypeMethodDescriptionThis is a convenience function to assign a given route to the given message, and then pass it to the otherSourceSession.send(Message)
method of this session.Sets a new route for this routable -
Uses of Route in com.yahoo.messagebus.network.rpc
Methods in com.yahoo.messagebus.network.rpc with parameters of type RouteModifier and TypeMethodDescriptionprotected abstract com.yahoo.jrt.Request
RPCSend.encodeRequest
(com.yahoo.component.Version version, Route route, RPCServiceAddress address, Message msg, long timeRemaining, byte[] payload, int traceLevel) protected com.yahoo.jrt.Request
RPCSendV2.encodeRequest
(com.yahoo.component.Version version, Route route, RPCServiceAddress address, Message msg, long timeRemaining, byte[] payload, int traceLevel) -
Uses of Route in com.yahoo.messagebus.routing
Methods in com.yahoo.messagebus.routing that return RouteModifier and TypeMethodDescriptionAdds a hop to the list of hops that make up this route.Route.clearHops()
Clears the list of hops that make up this route.RoutingContext.getRecipient
(int idx) Returns the configured recipient at the given index.RoutingContext.getRoute()
Returns the route that contains the routing policy that spawned this.RoutingNode.getRoute()
Returns the route object as it exists at this point of the tree.RoutingNodeIterator.getRoute()
Returns the route of the current child.Returns the named route, may be null.RoutingTable.RouteIterator.getRoute()
Returns the current route.static Route
Parses the given string as a list of space-separated hops.Sets the hop at a given index.Methods in com.yahoo.messagebus.routing that return types with arguments of type RouteModifier and TypeMethodDescriptionRoutingContext.getAllRecipients()
Returns all configured recipients for this hop.RoutingContext.getMatchedRecipients()
Returns a list of all configured recipients whose first hop matches this.Methods in com.yahoo.messagebus.routing with parameters of type RouteModifier and TypeMethodDescriptionvoid
Adds a child routing context to this based on a given route.Method parameters in com.yahoo.messagebus.routing with type arguments of type RouteModifier and TypeMethodDescriptionvoid
RoutingContext.addChildren
(List<Route> routes) This is a convenience method to more easily add a list of children to this.Constructors in com.yahoo.messagebus.routing with parameters of type Route -
Uses of Route in com.yahoo.messagebus.routing.test
Methods in com.yahoo.messagebus.routing.test that return types with arguments of type Route