|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JSimMessage | |
---|---|
cz.zcu.fav.kiv.jsim | This package provides basic classes for simulation creation and execution. |
cz.zcu.fav.kiv.jsim.ipc | This package provides classes for simulation of inter-process communication. |
Uses of JSimMessage in cz.zcu.fav.kiv.jsim |
---|
Fields in cz.zcu.fav.kiv.jsim declared as JSimMessage | |
---|---|
private JSimMessage |
JSimProcess.messageClipboard
The message clipboard is a single message passed from a process to this process when this process has invoked a blocking receive operation and got blocked inside it. |
Methods in cz.zcu.fav.kiv.jsim that return JSimMessage | |
---|---|
protected JSimMessage |
JSimProcess.readFromClipboard()
Reads a message from the clipboard and returns it. |
JSimMessage |
JSimProcess.receiveMessageWithBlocking()
Receives and returns a message previously sent to this process by any other process. |
JSimMessage |
JSimProcess.receiveMessageWithBlocking(JSimMessageBox box)
Receives and returns a message from the specified message box. |
JSimMessage |
JSimProcess.receiveMessageWithBlocking(JSimMessageBox box,
JSimProcess sender)
Receives and returns a message from the specified message box previously sent by the specified sender. |
JSimMessage |
JSimProcess.receiveMessageWithBlocking(JSimProcess sender)
Receives and returns a message previously sent by the specified sender to this process. |
JSimMessage |
JSimProcess.receiveMessageWithoutBlocking()
Receives and returns a message from the receiver's message box previously sent by any process. |
JSimMessage |
JSimProcess.receiveMessageWithoutBlocking(JSimMessageBox box)
Receives and returns a message from the specified message box previously sent by any process. |
JSimMessage |
JSimProcess.receiveMessageWithoutBlocking(JSimMessageBox box,
JSimProcess sender)
Receives and returns a message from the specified message box previously sent by the specified sender. |
JSimMessage |
JSimProcess.receiveMessageWithoutBlocking(JSimProcess sender)
Receives and returns a message from the receiver's message box previously sent by the specified sender. |
Methods in cz.zcu.fav.kiv.jsim with parameters of type JSimMessage | |
---|---|
protected void |
JSimProcess.copyToMessageClipboard(JSimMessage message)
Copies a single message to the process's clipboard. |
void |
JSimProcess.sendMessageWithBlocking(JSimMessage message,
JSimMessageBox box)
Sends the specified message to the specified message box. |
void |
JSimProcess.sendMessageWithoutBlocking(JSimMessage message,
JSimMessageBox box)
Sends the specified message to the specified message box. |
Uses of JSimMessage in cz.zcu.fav.kiv.jsim.ipc |
---|
Subclasses of JSimMessage in cz.zcu.fav.kiv.jsim.ipc | |
---|---|
class |
JSimAssymetricMessage
An assymetric message is a message where only the sender or the receiver is known but not both. |
class |
JSimIndirectMessage
An indirect message is a message whose sender and receiver are not known. |
class |
JSimMessageForReceiver
A message whose receiver is known but the sender is not. |
class |
JSimMessageFromSender
A message whose sender is known but the receiver is not. |
class |
JSimSymmetricMessage
A symmetric message is a message whose sender and receiver are both known. |
Fields in cz.zcu.fav.kiv.jsim.ipc with type parameters of type JSimMessage | |
---|---|
protected java.util.LinkedList<JSimMessage> |
JSimMessageBox.messages
A list of all messages that this message box keeps. |
Methods in cz.zcu.fav.kiv.jsim.ipc that return JSimMessage | |
---|---|
JSimMessage |
JSimMessageBox.getFirstMessage()
Returns the first message in the message box and removes it from there. |
JSimMessage |
JSimMessageBox.getFirstMessageForReceiver(JSimProcess receiver)
Return the first message whose receiver is equal to the specified receiver. |
JSimMessage |
JSimMessageBox.getFirstMessageFromAndFor(JSimProcess possibleSender,
JSimProcess possibleReceiver)
Returns the first message whose receiver is equal to the specified receiver and whose sender is equal to the specified sender. |
JSimMessage |
JSimMessageBox.getFirstMessageFromSender(JSimProcess sender)
Return the first message whose sender is equal to the specified sender. |
Methods in cz.zcu.fav.kiv.jsim.ipc with parameters of type JSimMessage | |
---|---|
void |
JSimMessageBox.addMessage(JSimMessage message)
Adds a new message to the message box. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |