|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cz.zcu.fav.kiv.jsim.ipc.JSimMessage | +--cz.zcu.fav.kiv.jsim.ipc.JSimIndirectMessage
An indirect message is a message whose sender and receiver are not known. The message cannot be sent directly, only via a message box. Any process can pick it up from the message box later.
Field Summary |
Fields inherited from class cz.zcu.fav.kiv.jsim.ipc.JSimMessage |
ANY_MESSAGE_TYPE, data, DEFAULT_JSIM_MESSAGE_TYPE, messageType, receiver, sender, UNKNOWN_RECEIVER, UNKNOWN_SENDER |
Constructor Summary | |
JSimIndirectMessage(java.lang.Object data)
Creates a new indirect message with an unknown sender, an unspecified receiver, and the specified user data. |
|
JSimIndirectMessage(java.lang.Object data,
int messageType)
Creates a new message with an unknown sender, an unspecified receiver, and the specified user data and message type. |
Methods inherited from class cz.zcu.fav.kiv.jsim.ipc.JSimMessage |
getData, getMessageType, getRealSender, getReceiver, getSender, setRealSender |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JSimIndirectMessage(java.lang.Object data)
data
- User data that the message will carry.public JSimIndirectMessage(java.lang.Object data, int messageType) throws JSimInvalidParametersException
data
- User data that the message will carry.
JSimInvalidParametersException
- This exception is thrown out if the message type is
negative.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |