|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
static RouteMessage |
ChordNode.getDataMessage(java.lang.String appId,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg)
Return a RouteMessage with the specified values. |
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,
int mode)
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)
Make a different action using the actual listener purpose. |
Uses of RouteMessage in planet.commonapi |
Methods in planet.commonapi with parameters of type RouteMessage | |
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 |
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). |
boolean |
Node.isLocalMessage(RouteMessage msg)
The isLocalMessage's method is an extension method for commonapi specs. |
Uses of RouteMessage in planet.commonapi.behaviours |
Methods in planet.commonapi.behaviours with parameters of type RouteMessage | |
void |
Behaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
boolean |
BehavioursFilter.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. |
boolean |
BehavioursInvoker.invoke(RouteMessage msg,
Node node)
This method invokes the related behaviour. |
void |
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. |
Uses of RouteMessage in planet.commonapi.factory |
Methods in planet.commonapi.factory that return RouteMessage | |
RouteMessage |
RouteMessagePool.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
Return a RouteMessage with the specified values, setting the nextHop field with the to value. |
RouteMessage |
RouteMessagePool.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message msg,
java.lang.String appId)
Builds a new instance of RouteMessage with these specified values. |
Methods in planet.commonapi.factory with parameters of type RouteMessage | |
void |
RouteMessagePool.freeMessage(RouteMessage msg)
To free a message only pushing it to be reused. |
Uses of RouteMessage in planet.generic.commonapi |
Classes in planet.generic.commonapi that implement RouteMessage | |
class |
RouteMessageImpl
Message that wold be routed throwghout network. |
class |
RouteMessageWithPathImpl
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 |
RouteMessage |
NodeImpl.buildMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
java.lang.String appId,
Message msg)
A wrapper method, that sends a RouteMessage with the specified data. |
RouteMessage |
NodeImpl.buildMessage(RouteMessage toCopy)
Builds a new RouteMessage with all the values appeared in toCopy, and the specified nextHop. |
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 |
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. |
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 |
NodeImpl.receive(RouteMessage msg)
Puts a message in the incoming queue of this node |
RouteMessage |
NodeImpl.buildMessage(RouteMessage toCopy)
Builds a new RouteMessage with all the values appeared in toCopy, and the specified nextHop. |
void |
NodeImpl.send(RouteMessage msg)
Puts a message in the outcoming queue of this node |
boolean |
NodeImpl.sendMessage(RouteMessage msg)
Puts the RouteMessage msg to the outgoing queue of this node. |
void |
NodeImpl.sendMessage(RouteMessage rMsg,
java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message msg)
A wrapper method, that send a RouteMessage with the specified data. |
boolean |
NodeImpl.isLocalMessage(RouteMessage msg)
The isLocalMessage's method is an extension method for commonapi specs. |
void |
NodeImpl.dispatchDataMessage(RouteMessage msg,
int requestMode,
int refreshMode)
Make a generic treatment of the DATA messages (application layer messages). |
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.generic.commonapi.behaviours |
Methods in planet.generic.commonapi.behaviours with parameters of type RouteMessage | |
boolean |
BehavioursIdleFilter.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. |
boolean |
BehavioursInvokerImpl.invoke(RouteMessage msg,
Node node)
This method invokes a behaviour. |
void |
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. |
Uses of RouteMessage in planet.generic.commonapi.factory |
Methods in planet.generic.commonapi.factory that return RouteMessage | |
static RouteMessage |
GenericFactory.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
|
static RouteMessage |
GenericFactory.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
Message msg,
int type,
int mode,
java.lang.String appId)
|
RouteMessage |
RouteMessagePoolImpl.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
int type,
int mode)
Return a RouteMessage with the specified values, setting the nextHop field with the to value. |
RouteMessage |
RouteMessagePoolImpl.getMessage(java.lang.String key,
NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message msg,
java.lang.String appId)
Builds a new instance of RouteMessage with these specified values. |
Methods in planet.generic.commonapi.factory with parameters of type RouteMessage | |
static void |
GenericFactory.freeMessage(RouteMessage msg)
|
void |
GenericFactory.onMessage(RouteMessage msg,
Node node)
|
void |
RouteMessagePoolImpl.freeMessage(RouteMessage msg)
To free a message only pushing it to be reused. |
Uses of RouteMessage in planet.results |
Methods in planet.results with parameters of type RouteMessage | |
static void |
LinkStateResults.updateHopsByTypeOnly(RouteMessage msg)
Updates the number of hops per RouteMessage's type only. |
static void |
LinkStateResults.updateHopsByTypeOf(RouteMessage msg)
Updates the number of hops per RouteMessage's type and mode. |
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.newMessage(RouteMessage msg)
Stores a new RouteMessage has built up in order to be sent in a few steps. |
Uses of RouteMessage in planet.simulate |
Methods in planet.simulate with parameters of type RouteMessage | |
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 |
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)
Builds a RouteMessage with the specified data. |
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
int type,
int mode,
Message m,
java.lang.String key)
Builds a new RouteMessage with the specified data. |
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message m)
Builds a nw RouteMessage with the specified data. |
RouteMessage |
SymphonyNode.buildMessage(NodeHandle from,
NodeHandle to,
NodeHandle nextHop,
int type,
int mode,
Message m,
java.lang.String key)
Builds a RouteMessage with the specified data. |
RouteMessage |
SymphonyNode.buildMessage(RouteMessage toCopy,
NodeHandle nextHop)
Builds a new RouteMessage with all the values appeared in toCopy, and the specified nextHop. |
RouteMessage |
SymphonyNode.getNewLongDistance()
Returns a RouteMessage to be sent to acquire a new long distance. |
Methods in planet.symphony with parameters of type RouteMessage | |
RouteMessage |
SymphonyNode.buildMessage(RouteMessage toCopy,
NodeHandle nextHop)
Builds a new RouteMessage with all the values appeared in toCopy, and the specified nextHop. |
void |
SymphonyNode.dispatcher(RouteMessage msg)
Dispatch any incomming RouteMessage and update the local state or is resent to other node. |
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 with parameters of type RouteMessage | |
void |
AcceptConnectBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
CancelConnectBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
CloseLongConnectBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
CloseNeighbourConnectBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
DataBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
DropBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
QueryConnectBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
QueryJoinBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
RoutingBehaviour.onMessage(RouteMessage msg,
Node node)
Given a RouteMessage and a Node as input, onMessage's method do execution steps for the behaviour. |
void |
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.trivialp2p.behaviours |
Methods in planet.trivialp2p.behaviours with parameters of type RouteMessage | |
void |
DataBehaviour.onMessage(RouteMessage msg,
Node node)
This method treat any application level message, the only available ones in this TrivialP2P overlay implementation. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |