|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
JSimMessageWithKnownReceiver | All message classes implementing this interface assure that their receiving process can be obtained and it is a single specific process, not a set of processes, all processes, or an unspecified process. |
JSimMessageWithKnownSender | All message classes implementing this interface assure that their sending process can be obtained and it is a single specific process, not a set of processes, all processes, or an unspecified process. |
Class Summary | |
---|---|
JSimAssymetricMessage | An assymetric message is a message where only the sender or the receiver is known but not both. |
JSimIndirectMessage | An indirect message is a message whose sender and receiver are not known. |
JSimMessage | A message is a piece of data sent from a process to another one. |
JSimMessageBox | A message box is a data structure able to keep messages sent between processes. |
JSimMessageForReceiver | A message whose receiver is known but the sender is not. |
JSimMessageFromSender | A message whose sender is known but the receiver is not. |
JSimSemaphore | A JSimSemaphore is a mean of synchronization of two or more J-Sim processes. |
JSimSymmetricMessage | A symmetric message is a message whose sender and receiver are both known. |
Exception Summary | |
---|---|
JSimTooManySemaphoresException | The JSimTooManySemaphoresException is thrown whenever J-Sim cannot add a new semaphore (JSimSemaphore) into a simulation. |
This package provides classes for simulation of inter-process communication. Inter-process communication involves process synchronization by semaphores and message passing. All kinds of message passing are supported: messages can be symmetric, assymetric, or indirect. Methods sending/receiving a message can block the calling process or not. Indirect message passing is realized via message boxes.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |