A B C D E F G H I L M N P R S T W

A

ALL - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the string that will cancel all events of a process.
activate(double, int) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Schedules the specified neighbour for the specified time with null message.
activate(double, int, String) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Schedules the specified neighbour for the specified time with the specified message.

B

BEGINNING - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the first message with ID, number of processes, number of simulations and time window.

C

CANCEL - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the message requesting cancel of events of some process.
CSCalendarEvent - class cz.zcu.fav.kiv.cs.CSCalendarEvent.
Describes the event of CSProcess in calendar.
CSCalendarEvent(double, int, String, int) - Constructor for class cz.zcu.fav.kiv.cs.CSCalendarEvent
Creates a new event of the specified process.
CSConst - class cz.zcu.fav.kiv.cs.CSConst.
Contains common constants.
CSConst() - Constructor for class cz.zcu.fav.kiv.cs.CSConst
 
CSException - exception cz.zcu.fav.kiv.cs.CSException.
This is the parent exception for my next exceptions.
CSException(String) - Constructor for class cz.zcu.fav.kiv.cs.CSException
 
CSProcess - class cz.zcu.fav.kiv.cs.CSProcess.
One of the most importatnt classes for the user, he should extend this class, if he wants to describe a process of the distributed simulation.
CSProcess(String, CSSimulation, int, int[], double[]) - Constructor for class cz.zcu.fav.kiv.cs.CSProcess
Creates the CSProcess and sends his description to the server.
CSReadingThread - class cz.zcu.fav.kiv.cs.CSReadingThread.
Thread that reads messages for submodel from server.
CSReadingThread(CSSimulation) - Constructor for class cz.zcu.fav.kiv.cs.CSReadingThread
 
CSRemoteException - exception cz.zcu.fav.kiv.cs.CSRemoteException.
This exception is thrown out, if remote submodel has fallen down.
CSRemoteException(String) - Constructor for class cz.zcu.fav.kiv.cs.CSRemoteException
 
CSSecurityException - exception cz.zcu.fav.kiv.cs.CSSecurityException.
Represents exception that can break the conservative synchronisation algorithm.
CSSecurityException(String) - Constructor for class cz.zcu.fav.kiv.cs.CSSecurityException
 
CSServer - class cz.zcu.fav.kiv.cs.CSServer.
This class represents the main server.
CSServer(int) - Constructor for class cz.zcu.fav.kiv.cs.CSServer
Creates the server and connects him to the specified port.
CSServerProcInfo - class cz.zcu.fav.kiv.cs.CSServerProcInfo.
Carries the information about process.
CSServerProcInfo(int, int, int) - Constructor for class cz.zcu.fav.kiv.cs.CSServerProcInfo
 
CSServerThread - class cz.zcu.fav.kiv.cs.CSServerThread.
Takes care of communication between one submodel and server.
CSServerThread(int, Socket, CSServer) - Constructor for class cz.zcu.fav.kiv.cs.CSServerThread
Creates the new thread, taking care of a communication between the submodel and the server.
CSSimulation - class cz.zcu.fav.kiv.cs.CSSimulation.
The main class describing the simulation submodel.
CSSimulation(String, String, int) - Constructor for class cz.zcu.fav.kiv.cs.CSSimulation
Creates a new class representing the simulation submodel.
CSSimulation(String, int, String, int) - Constructor for class cz.zcu.fav.kiv.cs.CSSimulation
Creates a new class representing the simulation submodel.
CSSimulation(String, int, double, String, int) - Constructor for class cz.zcu.fav.kiv.cs.CSSimulation
Creates a new class representing the simulation submodel.
cancel(int, String) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Cancel events of the specified process with the specified message.
cancelAll(int) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Cancel all events of the specified process.
compareTo(Object) - Method in class cz.zcu.fav.kiv.cs.CSCalendarEvent
Used for sorting of the calendar.
csLife() - Method in class cz.zcu.fav.kiv.cs.CSProcess
The programmer should overwrite this method.
cz.zcu.fav.kiv.cs - package cz.zcu.fav.kiv.cs
 

D

DISTANCE - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the message with distances to neigbours.
distMatrixID - Variable in class cz.zcu.fav.kiv.cs.CSServerProcInfo
ID for this process in the distance matrix, assigned by server.

E

ERROR - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the Error message.
error(String) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Prints out a text error message, either to the error output or to the simulation window.

F

FINISH - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the Final message.

G

getAutoID() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the local ID assigned by the submodel.
getFromWho() - Method in class cz.zcu.fav.kiv.cs.CSCalendarEvent
 
getFromWho() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns an ID of a neighbour, who has me scheduled for now.
getID() - Method in class cz.zcu.fav.kiv.cs.CSCalendarEvent
 
getID() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns an ID specified by user.
getID() - Method in class cz.zcu.fav.kiv.cs.CSRemoteException
Returns an ID of the broken submodel.
getInternalProcID(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Returns the ID assigned by submodel of process specified by ID assigned by user.
getMessage() - Method in class cz.zcu.fav.kiv.cs.CSCalendarEvent
 
getMessage() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the actual message for this process in the current part of his life.
getName() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the local ID assigned by the submodel.
getNextCE() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the event of my next execution in this step of the distributed simulation.
getNextCEForMe(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Returns the event for the next execution of the specified process in this step of the distributed simulation.
getNextFromWho() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the neighbour who has scheduled my next execution in this step of the distributed simulation.
getNextFromWhoForMe(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Returns the ID of the neighbour who has scheduled the next execution of the specified process in this step of the distributed simulation.
getNextMessage() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the message for my next execution in this step of the distributed simulation.
getNextMessageForMe(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Returns the message for the next execution of the specified process in this step of the distributed simulation.
getNextTime() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the time of my next execution in this step of the distributed simulation.
getNextTimeForMe(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Returns the time of next execution of the specified process in this step of the distributed simulation.
getNumber() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns the ID assigned by J-Sim.
getTime() - Method in class cz.zcu.fav.kiv.cs.CSCalendarEvent
 

H

HEAD - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the head of all messages.
hold(double) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Holds this process for the specified time with the null message.
hold(double, String) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Holds this process for the specified time with the specified message.

I

isInternal(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
True, if a process with specified ID is located in this submodel.

L

life() - Method in class cz.zcu.fav.kiv.cs.CSProcess
It's here only to tell the user, that this method is not used in CSProcess.

M

MARK - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the mark separating parts of a message.
MESSAGE - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the message scheduling execution of a neighbour.
main(String[]) - Static method in class cz.zcu.fav.kiv.cs.CSServer
The main method.
message(String) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Prints out a text message, either to the standard output or to the simulation window.

N

NEVER - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the nonexisting time.
NOONE - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the ID for a nonexisting process.
NULLMSG - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the null message.
numberOfProc - Static variable in class cz.zcu.fav.kiv.cs.CSServer
The number of all CSProcesses in the distributed simulation.
numberOfSimul - Static variable in class cz.zcu.fav.kiv.cs.CSServer
The number of all simulation submodels in the distributed simulation.

P

parent - Variable in class cz.zcu.fav.kiv.cs.CSProcess
The simulation submodel that this process is a part of.
procID - Variable in class cz.zcu.fav.kiv.cs.CSServerProcInfo
ID of this process, which has him assigned his parent submodel.

R

run() - Method in class cz.zcu.fav.kiv.cs.CSReadingThread
Reads messages from server.
run() - Method in class cz.zcu.fav.kiv.cs.CSServerThread
Reads messages from the submodel.

S

SAFE_TIME - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the message with safe time.
SHORTMSG - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the "" message.
simID - Variable in class cz.zcu.fav.kiv.cs.CSServerProcInfo
ID of submodel, where is this process located.
simulate(double) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Executes the simulation.
somethingForMe(int) - Method in class cz.zcu.fav.kiv.cs.CSSimulation
Returns true, if there is some event for the specified process in this step of the distributed simulation.
somethingNext() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Returns True, if there is a message for me in this step of the distributed simulation.
startAt(double, String) - Method in class cz.zcu.fav.kiv.cs.CSProcess
Schedules the first execution of this process.

T

timeWindow - Static variable in class cz.zcu.fav.kiv.cs.CSServer
No submodel can advance its local simulation time more than this value ahead of another process.

W

WAITING - Static variable in class cz.zcu.fav.kiv.cs.CSConst
Describes the message taking care of waiting for others.
waitForNextMessage() - Method in class cz.zcu.fav.kiv.cs.CSProcess
Passivates the current process, he will be woken up with a new message for him.

A B C D E F G H I L M N P R S T W