Uses of Interface
planet.commonapi.RouteMessage

Packages that use RouteMessage
planet.badchord   
planet.behaviour   
planet.chord   
planet.commonapi   
planet.generic.commonapi   
planet.results   
planet.simulate   
planet.symphony   
planet.symphony.behaviours   
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.behaviour
 

Fields in planet.behaviour declared as RouteMessage
 RouteMessage[] BehaviourInvokerStatus.replies
           
 

Methods in planet.behaviour that return RouteMessage
protected  RouteMessage[] BehavioursPoolImpl.copyInto(java.util.Vector s)
           
 RouteMessage[] BehaviourInvokerStatus.getResultRouteMessages()
           
 RouteMessage[] Behaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] BehavioursPool.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method intends to invoke some behaviours only if RouteMessage's type and mode fields matches some behaviour's pattern.
 RouteMessage[] BehavioursPoolImpl.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method intends to invoke some behaviours only if RouteMessage's type and mode fields matches some behaviour's pattern.
 

Methods in planet.behaviour with parameters of type RouteMessage
protected  void BehavioursPoolImpl.copyInto(java.util.Vector copy, RouteMessage[] source)
           
 boolean Filter.filter(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, filter's method filters the input RouteMessage if does not satisfy filter's precondition.
 BehaviourInvokerStatus BehaviourInvoker.invoke(RouteMessage msg, Node node)
          This method invokes a behaviour.
 RouteMessage[] Behaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] BehavioursPool.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method intends to invoke some behaviours only if RouteMessage's type and mode fields matches some behaviour's pattern.
 RouteMessage[] BehavioursPoolImpl.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method intends to invoke some behaviours only if RouteMessage's type and mode fields matches some behaviour's pattern.
 

Constructors in planet.behaviour with parameters of type RouteMessage
BehaviourInvokerStatus(RouteMessage[] replies, boolean invoked)
           
 

Uses of RouteMessage in planet.chord
 

Methods in planet.chord that return RouteMessage
static RouteMessage ChordNode.getBroadcastMessage(java.lang.String appId, NodeHandle from, NodeHandle to, NodeHandle nextHop, Message msg)
          Return a RouteMessage with the specified values.
static RouteMessage ChordNode.getDataMessage(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
 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)
           
protected  void ChordNode.routingData(RouteMessage message, NodeHandle nextHop)
          Send a message to unknown destination node via routing.
protected  void ChordNode.sendData(RouteMessage message, NodeHandle hint)
          Send a message to destination node directly.
 

Uses of RouteMessage in planet.commonapi
 

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

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 NetworkNodeImpl.nextMessage()
          Return the next message and dequeue this of the incoming queue
protected  RouteMessage NodeImpl.nextMessage()
          Return the next message and dequeue this of the incoming queue
 

Methods in planet.generic.commonapi with parameters of type RouteMessage
 void NodeImpl.dispatchDataMessage(RouteMessage msg, int requestMode, int refreshMode)
          Make a generic treatment of the DATA messages (application layer messages).
 boolean EndPointImpl.forward(RouteMessage message)
          Deliver only the content Message in RouteMessage to the application and returns if this message must be forward.
 boolean NodeImpl.isLocalMessage(RouteMessage msg)
          The isLocalMessage's method is an extension method for commonapi specs.
 void NetworkNodeImpl.receive(RouteMessage msg)
          Puts a message in the incoming queue of this node
 void NodeImpl.receive(RouteMessage msg)
          Puts a message in the incoming 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.
 void NetworkNodeImpl.send(RouteMessage msg)
          Puts a message in the outcoming queue of this node
 void NodeImpl.send(RouteMessage msg)
          Puts a message in the outcoming queue of this node
 

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.results
 

Methods in planet.results with parameters of type RouteMessage
static void LinkStateResults.newMessage(RouteMessage msg)
          Stores a new RouteMessage has built up in order to be sent in a few steps.
static void LinkStateResults.newMessageOnlyByType(RouteMessage msg)
          Stores a new RouteMessage has built up in order to be sent in a few steps.
static void LinkStateResults.updateHopsByTypeOf(RouteMessage msg)
          Updates the number of hops per RouteMessage's type and mode.
static void LinkStateResults.updateHopsByTypeOnly(RouteMessage msg)
          Updates the number of hops per RouteMessage's type only.
 

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.
static void Logger.logReceive(Id id, RouteMessage msg, int lvl)
          Logs a received RouteMessage
static void Logger.logSend(Id id, RouteMessage msg, int lvl)
          Logs a sent RouteMessage.
 void MessageListener.onMessage(RouteMessage msg)
           
 

Uses of RouteMessage in planet.symphony
 

Methods in planet.symphony that return RouteMessage
 RouteMessage SymphonyNode.buildMessage(NodeHandle from, NodeHandle to, int type, int mode, Message m)
           
 RouteMessage SymphonyNode.buildMessage(NodeHandle from, NodeHandle to, int type, int mode, Message m, java.lang.String key)
           
 RouteMessage SymphonyNode.buildMessage(NodeHandle from, NodeHandle to, NodeHandle nextHop, int type, int mode, Message m)
           
 RouteMessage SymphonyNode.buildMessage(NodeHandle from, NodeHandle to, NodeHandle nextHop, int type, int mode, Message m, java.lang.String key)
           
 RouteMessage SymphonyNode.getNewLongDistance()
           
 

Methods in planet.symphony with parameters of type RouteMessage
 void SymphonyNode.dispatcher(RouteMessage msg)
           
 boolean SymphonyNode.isLocalMessage(RouteMessage msg)
          The isLocalMessage's method is an extension method for commonapi specs.
 

Uses of RouteMessage in planet.symphony.behaviours
 

Methods in planet.symphony.behaviours that return RouteMessage
 RouteMessage[] AcceptConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] CancelConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] CloseLongConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] CloseNeighbourConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] DataBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] DropBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] QueryConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] QueryJoinBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] RoutingBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] SetInfoBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 

Methods in planet.symphony.behaviours with parameters of type RouteMessage
 boolean IdleFilter.filter(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, filter's method filters the input RouteMessage if does not satisfy filter's precondition.
 RouteMessage[] AcceptConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] CancelConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] CloseLongConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] CloseNeighbourConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] DataBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] DropBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] QueryConnectBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] QueryJoinBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] RoutingBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 RouteMessage[] SetInfoBehaviour.onMessage(RouteMessage msg, Node node)
          Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour.
 

Uses of RouteMessage in planet.symphony.listeners
 

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