Uses of Class
cz.zcu.fav.kiv.jsim.JSimProcess

Packages that use JSimProcess
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 JSimProcess in cz.zcu.fav.kiv.jsim
 

Fields in cz.zcu.fav.kiv.jsim declared as JSimProcess
private  JSimProcess JSimProcess.messageSenderIAmWaitingFor
          A process that this process is waiting for.
static JSimProcess JSimCalendar.NOBODY
          Constant signalling that there is no process scheduled.
private  JSimProcess JSimCalendarEvent.process
          The process to be activated (woken up).
protected  JSimProcess JSimSimulation.runningProcess
          The currently running process.
 

Fields in cz.zcu.fav.kiv.jsim with type parameters of type JSimProcess
private  java.util.SortedSet<JSimProcess> JSimSimulation.notStartedProcesses
          A set containing processes created during last step and not started yet.
private  java.util.SortedSet<JSimProcess> JSimSimulation.processes
          All processes of the simulation.
private  java.util.SortedSet<JSimProcess> JSimSimulation.processesForGUI
          All processes that have ever existed in the simulation.
 

Methods in cz.zcu.fav.kiv.jsim that return JSimProcess
 JSimProcess JSimCalendar.getFirstProcess()
          Returns the first scheduled process.
 JSimProcess JSimCalendarEvent.getProcess()
          Returns the process referred to by the event.
 JSimProcess JSimSimulation.getRunningProcess()
          Returns the currently running process.
 JSimProcess JSimProcess.getSenderIAmWaitingFor()
          Returns the process that this process specified as sender for its blocking receive operation.
 

Methods in cz.zcu.fav.kiv.jsim with parameters of type JSimProcess
 void JSimCalendar.addEntry(double absTime, JSimProcess process)
          Adds a new event with the specified time and the specified process to the calendar.
protected  void JSimSimulation.addEntryToCalendar(double absoluteTime, JSimProcess process)
          Adds a new event to the calendar, with the specified absolute time and the specified process.
protected  void JSimSimulation.addProcess(JSimProcess process)
          Adds a new process to the simulation.
 int JSimProcess.compareTo(JSimProcess p)
          Compares this process with another one.
 int JSimCalendar.deleteEntries(JSimProcess process, boolean all)
          Deletes one or all events of a process from the calendar.
protected  int JSimSimulation.deleteEntriesInCalendar(JSimProcess process, boolean all)
          Deletes one or more entries in the calendar, concerning a process.
protected  void JSimSimulation.deleteProcess(JSimProcess process)
          Deletes a process from the simulation.
 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(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.
 

Constructors in cz.zcu.fav.kiv.jsim with parameters of type JSimProcess
JSimCalendarEvent(double time, JSimProcess process)
          Creates a new calendar event with the specified time and process.
 

Uses of JSimProcess in cz.zcu.fav.kiv.jsim.ipc
 

Fields in cz.zcu.fav.kiv.jsim.ipc declared as JSimProcess
private  JSimProcess JSimMessage.realSender
          The process that actually sent the message.
protected  JSimProcess JSimMessage.receiver
          The process to whom this message is to be sent.
protected  JSimProcess JSimMessage.sender
          The sending process.
static JSimProcess JSimMessage.UNKNOWN_RECEIVER
          This constant specifies an unknown receiver.
static JSimProcess JSimMessage.UNKNOWN_SENDER
          This constant specifies an unknown sender.
 

Fields in cz.zcu.fav.kiv.jsim.ipc with type parameters of type JSimProcess
private  java.util.LinkedList<JSimProcess> JSimSemaphore.queue
          A queue of processes blocked on this semaphore's P() function.
protected  java.util.LinkedList<JSimProcess> JSimMessageBox.suspendedReceivers
          A list of all processes that got suspended when they tried to receive a message from this message box.
protected  java.util.LinkedList<JSimProcess> JSimMessageBox.suspendedSenders
          A list of all processes that got suspended when they sent a message to this message box.
 

Methods in cz.zcu.fav.kiv.jsim.ipc that return JSimProcess
 JSimProcess JSimMessageBox.getFirstSuspendedReceiver(JSimProcess possibleReceiver, JSimProcess possibleSender)
          Returns the first process that is suspended on receiving a message from this message box.
 JSimProcess JSimMessage.getRealSender()
          Returns the process that actually sent the message.
 JSimProcess JSimMessageWithKnownReceiver.getReceiver()
          Provides the receiver of the message.
 JSimProcess JSimMessage.getReceiver()
          Returns the receiver of the message.
 JSimProcess JSimMessageWithKnownSender.getSender()
          Provides the sender of the message.
 JSimProcess JSimMessage.getSender()
          Returns the sender of the message.
 

Methods in cz.zcu.fav.kiv.jsim.ipc with parameters of type JSimProcess
 void JSimMessageBox.addSuspendedReceiver(JSimProcess receiver)
          Adds a new process to the collection of processes suspended on receiving a message.
 void JSimMessageBox.addSuspendedSender(JSimProcess sender)
          Adds a new process to the collection of processes suspended on sending a message.
 boolean JSimMessageBox.containsSuspendedSender(JSimProcess sender)
          Indicates whether the specified process is among senders suspended on this message box.
 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.
 JSimProcess JSimMessageBox.getFirstSuspendedReceiver(JSimProcess possibleReceiver, JSimProcess possibleSender)
          Returns the first process that is suspended on receiving a message from this message box.
 void JSimMessage.setRealSender(JSimProcess realSender)
          Sets the real sender when the message is being sent.
 

Constructors in cz.zcu.fav.kiv.jsim.ipc with parameters of type JSimProcess
JSimAssymetricMessage(JSimProcess sender, JSimProcess receiver, java.lang.Object data)
          Creates a new assymetric message with the specified sender, receiver, and user data.
JSimAssymetricMessage(JSimProcess sender, JSimProcess receiver, java.lang.Object data, int messageType)
          Creates a new assymetric message with the specified sender, receiver, user data, and message type.
JSimMessage(JSimProcess sender, JSimProcess receiver, java.lang.Object data)
          Creates a new message with the specified sender, receiver, and user data.
JSimMessage(JSimProcess sender, JSimProcess receiver, java.lang.Object data, int messageType)
          Creates a new message with the specified sender, receiver, user data, and message type.
JSimMessageForReceiver(JSimProcess receiver, java.lang.Object data)
          Creates a new message for receiver with the specified receiver and user data.
JSimMessageForReceiver(JSimProcess receiver, java.lang.Object data, int messageType)
          Creates a new message for receiver with the specified receiver, user data, and message type.
JSimMessageFromSender(JSimProcess sender, java.lang.Object data)
          Creates a new message from sender with the specified sender and user data.
JSimMessageFromSender(JSimProcess sender, java.lang.Object data, int messageType)
          Creates a new message from sender with the specified sender, user data, and message type.
JSimSymmetricMessage(JSimProcess sender, JSimProcess receiver, java.lang.Object data)
          Creates a new symmetric message with the specified sender, receiver, and user data.
JSimSymmetricMessage(JSimProcess sender, JSimProcess receiver, java.lang.Object data, int messageType)
          Creates a new message with the specified sender, receiver, user data, and message type.
 



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