Package cz.zcu.fav.kiv.jsim.ipc

This package provides classes for simulation of inter-process communication.

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.
 

Package cz.zcu.fav.kiv.jsim.ipc Description

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.

Since:
J-Sim version 0.3.0


Copyright © 2000-2006 University of West Bohemia. Licensed under the Academic Free License v. 2.1. Build date 20060812.