Uses of Interface
planet.commonapi.RouteMessage

Packages that use RouteMessage
planet.badchord   
planet.chord   
planet.commonapi   
planet.generic.commonapi   
planet.simulate   
planet.symphony   
planet.symphony.listeners   
 

Uses of RouteMessage in planet.badchord
 

Methods in planet.badchord with parameters of type RouteMessage
 void BadChordNode.dispatcher(RouteMessage msg)
          Treats the messages and according to the case, executes the generic listeners or listeners specialized, forward the messages or send responses messages
 

Uses of RouteMessage in planet.chord
 

Methods in planet.chord that return RouteMessage
protected static RouteMessage ChordNode.getDataMessage(java.lang.String appId, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg)
          Return a RouteMessage with the specified values.
protected static RouteMessage ChordNode.getBroadcastMessage(java.lang.String appId, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg)
          Return a RouteMessage with the specified values.
 

Methods in planet.chord with parameters of type RouteMessage
protected  void ChordNode.sendData(RouteMessage message, NodeHandle hint)
          Send a message to destination node directly.
protected  void ChordNode.routingData(RouteMessage message, NodeHandle nextHop)
          Send a message to unknown destination node via routing.
 void ChordNode.dispatcher(RouteMessage msg)
          Treats the messages and according to the case, executes the generic listeners or listeners specialized, forward the messages or send responses messages
 void ChordNode.LookupListener.onMessage(RouteMessage msg)
           
 void ChordNode.GetPreListener.onMessage(RouteMessage msg)
           
 void ChordNode.FindSuccListener.onMessage(RouteMessage msg)
           
 void ChordNode.FindPredListener.onMessage(RouteMessage msg)
           
 

Uses of RouteMessage in planet.commonapi
 

Methods in planet.commonapi with parameters of type RouteMessage
 void Node.receive(RouteMessage msg)
          This method is invoked to send a message msg to the actual Node (another ----> me).
 void Node.send(RouteMessage msg)
          This method is invoked to send a message msg to another Node (me ---> another).
 void EndPoint.scheduleMessage(RouteMessage message, long delay)
          Schedules a message to be delivered to this application after the provided number of milliseconds.
 boolean EndPoint.forward(RouteMessage message)
          Forwarding the message to the Application
 

Uses of RouteMessage in planet.generic.commonapi
 

Classes in planet.generic.commonapi that implement RouteMessage
 class RouteMessageImpl
          Message that wold be routed throwghout network.
 

Methods in planet.generic.commonapi that return RouteMessage
protected  RouteMessage NodeImpl.nextMessage()
          Return the next message and dequeue this of the incoming queue
protected  RouteMessage NetworkNodeImpl.nextMessage()
          Return the next message and dequeue this of the incoming queue
 

Methods in planet.generic.commonapi with parameters of type RouteMessage
 void NodeImpl.receive(RouteMessage msg)
          Puts a message in the incoming queue of this node
 void NodeImpl.send(RouteMessage msg)
          Puts a message in the outcoming queue of this node
 void NetworkNodeImpl.receive(RouteMessage msg)
          Puts a message in the incoming queue of this node
 void NetworkNodeImpl.send(RouteMessage msg)
          Puts a message in the outcoming queue of this node
 void EndPointImpl.scheduleMessage(RouteMessage message, long delay)
          Schedules a message to be delivered to this application after the provided number of milliseconds.
 boolean EndPointImpl.forward(RouteMessage message)
          Deliver only the content Message in RouteMessage to the application and returns if this message must be forward.
 

Constructors in planet.generic.commonapi with parameters of type RouteMessage
EndPointImpl.MessageScheduler(RouteMessage message, long delay, Node node)
          Fixes the message an delay to send the message.
 

Uses of RouteMessage in planet.simulate
 

Methods in planet.simulate that return RouteMessage
static RouteMessage MessagePool.getMessage(java.lang.String key, NodeHandle from, NodeHandle to, int type, int mode)
          Return a RouteMessage with the specified values.
static RouteMessage MessagePool.getMessage(java.lang.String key, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg, int type, int mode, java.lang.String appId)
          Builds a new instance of RouteMessage with all specified values.
 

Methods in planet.simulate with parameters of type RouteMessage
static void MessagePool.freeMessage(RouteMessage aMsg)
          To free a message only pushing it to stack to reuse.
 void MessageListener.onMessage(RouteMessage msg)
           
static void Logger.logSend(Id id, RouteMessage msg, int lvl)
          Logs a sent RouteMessage.
static void Logger.logReceive(Id id, RouteMessage msg, int lvl)
          Logs a received RouteMessage
 

Uses of RouteMessage in planet.symphony
 

Methods in planet.symphony with parameters of type RouteMessage
 void SymphonyNode.dispatcher(RouteMessage msg)
           
 

Uses of RouteMessage in planet.symphony.listeners
 

Methods in planet.symphony.listeners with parameters of type RouteMessage
 void LookupListener.onMessage(RouteMessage msg)
           
 void JoinListener.onMessage(RouteMessage msg)
           
 void FindSuccListener.onMessage(RouteMessage msg)