|
Rice Pastry API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RouteMessage | |
---|---|
rice.pastry.client | |
rice.pastry.routing | |
rice.pastry.socket.nat.rendezvous | |
rice.pastry.standard | |
rice.pastry.testing |
Uses of RouteMessage in rice.pastry.client |
---|
Methods in rice.pastry.client with parameters of type RouteMessage | |
---|---|
void |
CommonAPIAppl.forward(RouteMessage msg)
Called by pastry when a message is enroute and is passing through this node. |
Uses of RouteMessage in rice.pastry.routing |
---|
Methods in rice.pastry.routing that return RouteMessage | |
---|---|
static RouteMessage |
RouteMessage.build(InputBuffer buf,
byte priority,
PastryNode pn,
NodeHandle prev,
byte outputVersion)
version 1: +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + int auxAddress + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + bool hasHndle + // if it has a destinationHandle instead of an Id +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + Id target + + (only existis if the hasHandle boolean is false + + + + + + + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + NodeHandle destinationHandle + + (used if the RouteMessage is intended for a specific node) + + (only exists if the hasHandle boolean is true) + ... |
Methods in rice.pastry.routing with parameters of type RouteMessage | |
---|---|
NodeHandle |
RouterStrategy.pickNextHop(RouteMessage msg,
java.util.Iterator<NodeHandle> i)
|
void |
Router.route(RouteMessage rm)
Send the RouteMessage based on the Pastry Algorithm |
void |
RouteMessageNotification.sendFailed(RouteMessage message,
java.lang.Exception e)
|
void |
RouteMessageNotification.sendSuccess(RouteMessage message,
NodeHandle nextHop)
|
Uses of RouteMessage in rice.pastry.socket.nat.rendezvous |
---|
Methods in rice.pastry.socket.nat.rendezvous with parameters of type RouteMessage | |
---|---|
NodeHandle |
RendezvousRouterStrategy.pickNextHop(RouteMessage msg,
java.util.Iterator<NodeHandle> i)
|
Uses of RouteMessage in rice.pastry.standard |
---|
Methods in rice.pastry.standard with parameters of type RouteMessage | |
---|---|
void |
StandardRouter.deliverToApplication(RouteMessage msg)
|
protected void |
StandardJoinProtocol.handleIntermediateHop(RouteMessage rm)
|
protected void |
RapidRerouter.rerouteMe(RouteMessage rm,
NodeHandle oldDest,
java.lang.Exception ioe)
|
void |
StandardRouter.route(RouteMessage rm)
|
boolean |
StandardRouter.routeMessage(RouteMessage rm)
Routes the messages if the next hop has been set up. |
protected void |
RapidRerouter.sendTheMessage(RouteMessage rm,
NodeHandle handle)
|
protected void |
StandardRouter.sendTheMessage(RouteMessage rm,
NodeHandle handle)
|
Constructors in rice.pastry.standard with parameters of type RouteMessage | |
---|---|
TooManyRouteAttempts(RouteMessage rm,
int max_retries)
|
Uses of RouteMessage in rice.pastry.testing |
---|
Methods in rice.pastry.testing with parameters of type RouteMessage | |
---|---|
void |
RegrTestApp.forward(RouteMessage rm)
|
|
Rice Pastry API | |||||||||
PREV NEXT | FRAMES NO FRAMES |