|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Message in edu.ksu.cis.cooprobot.simulator.communication |
Fields in edu.ksu.cis.cooprobot.simulator.communication declared as Message | |
static Message |
Message.NULL_MESSAGE
|
Methods in edu.ksu.cis.cooprobot.simulator.communication that return Message | |
Message |
PriorityQueue.remove(int index)
Removing specific message from the queue |
Message |
PriorityQueue.get(int index)
Get specific message from the queue without deleting |
Methods in edu.ksu.cis.cooprobot.simulator.communication with parameters of type Message | |
void |
CommunicationsSystem.sendMessage(Message msg,
long timeStep)
Send message to other robots. |
private void |
CommunicationsSystem.processBroadcast(Message msg,
long timeStep)
It is used to process broadcast message by checking if sender is qualified and distribute messages to other robots. |
private void |
CommunicationsSystem.processP2P(Message msg,
long timeStep)
This method is used for processing point to point message by checking if sender and receiver are qualified and add message to the receiver's queue. |
private void |
CommunicationsSystem.distributeMessages(RobotCommRecord senderRecord,
Message msg,
long timeStep)
This method is used for distributing broadcast message. |
void |
PriorityQueue.add(Message msg)
Adding message to a queue in order of receivedTime |
void |
RobotCommRecord.addMsgToQueue(Message msg)
A Process to add message to a priority queue |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |