A B C D E F G H I K L M N O P Q R S T U V W

A

about - Static variable in class simulator.Server
This is undefined string avoided to contain the about information of server program.
about - Static variable in class simulator.Client
This contains an text that shows who has create the client.
AddClientCommand - class simulator.AddClientCommand.
Implements the client add command that add a vrml object in 3D position
AddClientCommand() - Constructor for class simulator.AddClientCommand
Initialize object for ADD command
Agent - class simulator.Agent.
This is an empty class used only to documentate how a agent may work with the other classes.
Agent() - Constructor for class simulator.Agent
 
agentsTime - Variable in class simulator.ProcessesHandler
Every agentsTime milliseconds time the agents are resumed (this time must be multiple of resolutionTime)
agentsTime - Static variable in class simulator.Server
This is undefined integer avoided to contain the time to resume the agents.
Ambient - class simulator.Ambient.
This class is provided becouse you can add some static object in the simulator when a connection is made.
Ambient() - Constructor for class simulator.Ambient
This constructor is here only to remember you that your class may have an initialization part that can be called only in the Server initialization.
applet - Variable in class simulator.Typist
Contains the instance to the applet
applet - Variable in class simulator.Listener
Contains the instance to the applet
availableCells - Variable in class simulator.Queue
This is the array of semaphore that contains the available resources of the index-array type
availableCells - Variable in class simulator.Server
This is the array of semaphore that contains the available resources of the index-array type
availableCells - Variable in class simulator.Connection
This is the array of semaphore that contains the available resources of the index-array type (It's a reference to Server's)
availableCommands - Static variable in class simulator.Connection
Contains the list of commands available for clients.

B

broadcast(String) - Method in class simulator.GenericSendVRML
Broadcasting a string to all the connected clients
broadcast(String) - Method in class simulator.Connection
Send a string command to all the connected users
browser - Variable in class simulator.Client
Contains the instance to the Browser class.
buildFieldTable() - Method in class simulator.Client
Builds the tables used to find rapidally if a field is of VRML type
buildStatic(Connection) - Method in class simulator.Ambient
This method is that build the static ambient.

C

cleanUp() - Method in class simulator.Client
Clean all the active processes before exiting
client - Variable in class simulator.Connection
Contains the socket that cliet uses to comunicate
Client - class simulator.Client.
This is an abstract class that performe the basic function of a client applet.
Client() - Constructor for class simulator.Client
 
clientAddress - Variable in class simulator.Connection
Contains the IP client address
ClientCommand - class simulator.ClientCommand.
This abstract class execute a command that the client write in the applet.
ClientCommand(String, String) - Constructor for class simulator.ClientCommand
Constructor that initialize the ClientCommand:
clientCommands - Variable in class simulator.Server
Contains the list of commands that the client can execute.
clientCommands - Variable in class simulator.Connection
Contains the available client commands; the hash key is the name of the command, the value is an ClientCommand object
clientName - Variable in class simulator.Connection
Contains a string name of the client
clientPort - Variable in class simulator.Connection
Contais the local client port for connecting to server
clientQueue - Variable in class simulator.GenericServerAmbient
In this tile the agents send required about information useful to calculate their position and the ServerAmbient store and read information using this tile.
clientQueue - Variable in class simulator.ServerAmbient
In this tile the agents send required about information useful to calculate their position and the ServerAmbient store and read information using this tile.
Code(String) - Method in class simulator.CodeTable
Return the code associate to the input vrml type
CodeTable - class simulator.CodeTable.
Create an association between vrml types and an integer using association of class in vrml.external.fields
CodeTable() - Constructor for class simulator.CodeTable
Initialize the table of codes
command - Variable in class simulator.ClientCommand
Contain the command as text help string like "ADD : adding a ..."
connectedUsers - Variable in class simulator.GenericSendVRML
This contains the list of connected user and will be always used for a simulation strategy in runTask.
connectedUsers - Variable in class simulator.Server
Contains the list of client users that are connected
connectedUsers - Variable in class simulator.Connection
Contains the list of client users that are connected
Connection - class simulator.Connection.
This is the class that mantains the connection between the client and server and executes the comunication with it
Connection(Socket, Server) - Constructor for class simulator.Connection
initialize the streams and start thread
countElem - Variable in class simulator.Queue
The actual number of elements that the queue contains

D

DEFAULT_HOST - Static variable in class simulator.Client
 
DEFAULT_PORT - Static variable in class simulator.Server
 
DEFAULT_PORT - Static variable in class simulator.Client
 
DEFAULT_SHOWROUNDTRIP - Static variable in class simulator.Client
 
DelClientCommand - class simulator.DelClientCommand.
Implements the client command that delete one object
DelClientCommand() - Constructor for class simulator.DelClientCommand
Initilaize object for DEL command
description - Variable in class simulator.ClientCommand
Contain the extended description of the command with the meanings of the parameters like "ADD param1 param2 \n param1=...
destroy() - Method in class simulator.Client
destroy()
dimQueue - Static variable in class simulator.Server
Max dimension for the queue
dimQueue - Variable in class simulator.Connection
Max dimension for the queue

E

ExitClientCommand - class simulator.ExitClientCommand.
Implements the client command that exit from simulator closing the connection
ExitClientCommand() - Constructor for class simulator.ExitClientCommand
Initialize object for EXIT command

F

fail(Exception, String) - Static method in class simulator.Server
Print fail information and exit from server program
fail(Exception, String) - Static method in class simulator.Connection
Print fail information and exit from server program
finalize() - Method in class simulator.Client
finalize()
finalize() - Method in class simulator.Typist
This method is provide only for the garbage collection handler for release the not available space

G

GenericSendVRML - class simulator.GenericSendVRML.
This is an abstract class created to be extended for making the SendVRML class able to operate with your simulation ambient and your client send VRML protocol.
GenericSendVRML() - Constructor for class simulator.GenericSendVRML
 
GenericServerAmbient - class simulator.GenericServerAmbient.
This is an abstract class to be implemented for you server of ambient.
GenericServerAmbient() - Constructor for class simulator.GenericServerAmbient
 
get(String, int) - Method in class simulator.Queue
Get a string from the sorg index of array in the queue
getAppletInfo() - Method in class simulator.Client
return the information about the autor of the client
getDescription() - Method in class simulator.ClientCommand
Return an extended description of command
getName() - Method in class simulator.ClientCommand
Return the name of the command; it must be used for the hashtable hash value.
getParameterInfo() - Method in class simulator.Client
Specify the type of parameter that the applet want
getText() - Method in class simulator.ClientCommand
Return the text description of the command.
GP - Variable in class simulator.Server
Contains the time handler of processes
GP - Variable in class simulator.Connection
Contains the time handler of processes
graphAppletInit() - Method in class simulator.Client
Initilize graphic object in the applet.
GSA - Variable in class simulator.ServerAmbient
Instances your server ambient processes
GSA - Static variable in class simulator.Server
This is undefined process that is to be used with ServerAmbient
GSV - Variable in class simulator.SendVRML
Contains an istance of your send vrml procedures
GSV - Static variable in class simulator.Server
This is undefined process that is to be used with SendVRML

H

head - Variable in class simulator.Queue
The pointer to head of queue
HelpClientCommand - class simulator.HelpClientCommand.
Implements the client command that help for a list of commands
HelpClientCommand() - Constructor for class simulator.HelpClientCommand
Initilaize object for HELP command
helpScreen() - Static method in class simulator.Server
Display a help screen
host - Variable in class simulator.Client
This is the string that contains the host information

I

idGen - Static variable in class simulator.Client
Create a new random number generator.
in - Variable in class simulator.Connection
This is the input client-socket stream
init() - Method in class simulator.Server
This abstract method must be implemented by the derived class.
init() - Method in class simulator.Client
Initialize the applet.
init(Hashtable, Queue[]) - Method in class simulator.GenericServerAmbient
Initialize object variables
init(Server) - Method in class simulator.GenericSendVRML
This initialize the internal variable
insertText(String) - Method in class simulator.Client
Insert a text in the applet text window and resize it if buffer length is over maxChars chars.
istance_ID - Variable in class simulator.Client
The identifier ID of current instance

K

keyUp(Event, int) - Method in class simulator.Client
If RETURN key was pressed, the contents of TextArea is send to the server.

L

line - Variable in class simulator.Connection
This contains a line read by the socket
lineId - Variable in class simulator.Typist
This is a line identifier used by RTT
listener - Variable in class simulator.Client
Contains the instance of Listener class
Listener - class simulator.Listener.
Listener thread-class of input socket stream.
Listener(Socket, TextArea, Client) - Constructor for class simulator.Listener
Initialize object and start the thread
logActivity(String) - Method in class simulator.Connection
Print log activities information
logException(Exception, String) - Method in class simulator.Connection
Print exception information

M

MAX_CHARS - Static variable in class simulator.Client
Max number of char that the TextArea may contain.
maxChars - Variable in class simulator.Client
 
maxNumProc - Static variable in class simulator.Server
 
ModifyClientCommand - class simulator.ModifyClientCommand.
Implements the client modify command that modify a vrml object position
ModifyClientCommand() - Constructor for class simulator.ModifyClientCommand
Initialize object for MODIFY command
mutex - Variable in class simulator.Queue
the mutex to prevent conflict in shared queue

N

N - Variable in class simulator.Semaphore
The actual number of process that are suspend
name - Variable in class simulator.ClientCommand
contain the name of command used as key by hashtable
NameClientCommand - class simulator.NameClientCommand.
Implements the client command that rename your actual name
NameClientCommand() - Constructor for class simulator.NameClientCommand
Initialize object for NAME command
Nodes - class simulator.Nodes.
This is a class used to store information useful to retrive information about node/user
Nodes(String, String) - Constructor for class simulator.Nodes
Initilize object with string
nodesList - Variable in class simulator.Server
Contains the list of nodes of virtual world
nodesList - Variable in class simulator.Connection
Contains the list of nodes of virtual world
nodesList - Variable in class simulator.Client
Contains a list of vrml nodes add to the VRML browser
numElem - Variable in class simulator.Queue
This contain the dimansion of the queue

O

O - Variable in class simulator.Semaphore
This string contain the Owner of the process that call a P or V operation, but it is never used.
out - Variable in class simulator.Connection
This is the output client-socket stream

P

P() - Method in class simulator.Semaphore
Perform a P operation (if there's no other resorces the process will be suspend)
paint(Graphics) - Method in class simulator.Client
Draw a graphics message about server connection not available
port - Variable in class simulator.Server
contains the port number uses to create a connection with socket
port - Variable in class simulator.Client
Contains the port number used by the socket
presentMessage - Variable in class simulator.Queue
This is the array of semaphore that contains the occupied resources of the index-array type
presentMessage - Variable in class simulator.Server
This is the array of semaphore that contains the occupied resources of the index-array type
presentMessage - Variable in class simulator.Connection
This is the array of semaphore that contains the occupied resources of the index-array type (It's a reference to Server's)
printer - Variable in class simulator.ProcessesHandler
Contains the vrml printer proccess
printerTime - Variable in class simulator.ProcessesHandler
Every printerTime milliseconds time the printer is resumed (this time must be multiple of resolutionTime)
printerTime - Static variable in class simulator.Server
This is undefined integer avoided to contain the time to resume the printer process.
ProcessesHandler - class simulator.ProcessesHandler.
This class run a thread that activate the vrml printer and the agents processes every simulation time.
ProcessesHandler(Hashtable, Thread, ServerAmbient, int, int, int, int) - Constructor for class simulator.ProcessesHandler
Initialize the processes handler and start thread
processesList - Variable in class simulator.ProcessesHandler
Contains the list of agents processes
processesList - Variable in class simulator.Server
Contains the list of agents processes
processesList - Variable in class simulator.Connection
Contains the list of agents processes (It's a reference to Server's)
processesQueue - Variable in class simulator.Server
A queue of message changed by client agents and the server
processesQueue - Variable in class simulator.Connection
A queue of message changed by client agents and the server (It's a reference to Server's)
put(String, String, int) - Method in class simulator.Queue
Put the string s in the queue using the dest index of array

Q

Q - Variable in class simulator.Queue
This is the array that contain the string values
Queue - class simulator.Queue.
This class implements a circular-shared-queue for string elements.
Queue(int, Semaphore[], Semaphore[]) - Constructor for class simulator.Queue
Initialize the shared queue

R

readFile(String) - Method in class simulator.Connection
Read a file and return a string rappresentation of it
realTime - Variable in class simulator.ProcessesHandler
This variable set the real time in the simulation with a 1 value.
realTime - Static variable in class simulator.Server
This variable set the real time in the simulation with a 1 value.
remote_name - Variable in class simulator.Client
Contains the information like 'login@machine'
resolutionTime - Variable in class simulator.ProcessesHandler
This is the resolution time in milliseconds of the process
resolutionTime - Static variable in class simulator.Server
This is undefined integer avoided to contain the resolution of the time processes handler
run() - Method in class simulator.ProcessesHandler
resume the printer processes and the agents processes at every simulation time.
run() - Method in class simulator.SendVRML
This thread calles the runTask method of GenericSendVRML and after timeToSend times calles the sendVRML method too.
run() - Method in class simulator.ServerAmbient
This thread loop in a runTask of GenericServerAmbient for making your actions, but first time it call your init.
run() - Method in class simulator.Server
Execute the server thread: listen for a client connection and made it The priority of this thread is set to MIN_PRIORITY by the default contructor.
run() - Method in class simulator.Connection
This is the thread that reads command from socket and runs them
run() - Method in class simulator.Typist
This only set a variable to comunicate that it's running ok, then exit from thread body becouse the method to call is sendline and it is done by the Client class
run() - Method in class simulator.Listener
Listen the socket and write message line in the TextArea
runCommand(String) - Method in class simulator.Connection
Execute a command that a user client pass to it.
runCommand(String) - Method in class simulator.Client
Parse a string command send by server for executing some commands to the virtual world and to the relative structures.
runCommand(StringTokenizer, Connection) - Method in class simulator.ClientCommand
This is the abstract method to implements that execute your command.
runCommand(StringTokenizer, Connection) - Method in class simulator.ExitClientCommand
Comunicate that we want to exit
runCommand(StringTokenizer, Connection) - Method in class simulator.WhoClientCommand
List the connected client
runCommand(StringTokenizer, Connection) - Method in class simulator.NameClientCommand
Change actual client name with new name
runCommand(StringTokenizer, Connection) - Method in class simulator.ModifyClientCommand
modify a position of one object in the simulator
runCommand(StringTokenizer, Connection) - Method in class simulator.AddClientCommand
Add an object to the simulator
runCommand(StringTokenizer, Connection) - Method in class simulator.DelClientCommand
Delete an object from simulator
runCommand(StringTokenizer, Connection) - Method in class simulator.HelpClientCommand
Show a help line only for the user that require it
running - Variable in class simulator.Typist
This flag indicates if typist is running
running - Variable in class simulator.Listener
This flag indicates if listener is running
runTask() - Method in class simulator.GenericSendVRML
This is the procedure called by SendVRML thread when we must updating the simulator state.
runTask() - Method in class simulator.GenericServerAmbient
This is abstract becouse you must implements it to have your server ambient.

S

s - Variable in class simulator.Client
Contains the socket to comunicate with the server
SA - Variable in class simulator.Server
Contains the process for serving an ambient
Semaphore - class simulator.Semaphore.
This class is a multi-value semaphore with P and V operations that performs a process suspension if there's no other available resorces.
Semaphore(int, String) - Constructor for class simulator.Semaphore
Initialize the semaphore with starting resorces and owner string of process
sendLine() - Method in class simulator.Typist
Send the readed line to the output stream
SendVRML - class simulator.SendVRML.
This is the class that send a vrml dinamic view of the simulation.
sendVRML() - Method in class simulator.GenericSendVRML
This is the procedure called by sendVRML thread when we send the VRML view to the connected clients.
SendVRML(Server, GenericSendVRML) - Constructor for class simulator.SendVRML
Initialize the internal variable and start thread body
ServAmb - Variable in class simulator.Connection
Contains the process for serving an ambient (It's a reference to Server's)
server - Variable in class simulator.GenericSendVRML
Contains the instance to the Server class
server - Variable in class simulator.SendVRML
Contains an instance of Server class
Server - class simulator.Server.
Implements a base function of a server as a thread.
server_socket - Variable in class simulator.Server
Contains the server socket istance to permit the comunication
Server(String[]) - Constructor for class simulator.Server
Analize the command passes as string
serverAmbient - Variable in class simulator.ProcessesHandler
Contains the server ambient process
ServerAmbient - class simulator.ServerAmbient.
This class is used to comunicate between the agents their position (velocity...) and the position of all other object there's in the simulator.
ServerAmbient(Hashtable, Queue[], GenericServerAmbient) - Constructor for class simulator.ServerAmbient
Initialize object and start thread
showRoundTripCheck - Variable in class simulator.Client
This is the control to choose if you want to show the RTT.
showRoundTripInitial - Variable in class simulator.Client
Indicate if a RTT will be visible
sin - Variable in class simulator.Listener
This is the input socket stream used to comunicate
sout - Variable in class simulator.Typist
This is the output stream where we write on
start() - Method in class simulator.Client
this method activate a connection with the server, then initilize the graph of the applet and last activate the threads Listener and Typist
state - Variable in class simulator.GenericSendVRML
This contains the list of the state of simulation and will be always used for a simulation strategy in runTask.
state - Variable in class simulator.GenericServerAmbient
Rappresents the dinamic state of the simulation ambient.
state - Variable in class simulator.ServerAmbient
Rappresents the dinamic state of the simulation ambient.
state - Variable in class simulator.Server
Contains instance of the actual states of agents
state - Variable in class simulator.Connection
Contains instance of the actual states of agents
staticAmb - Variable in class simulator.Server
This is the abstract class to build your static ambient
staticAmb - Variable in class simulator.Connection
This is the abstract class to build your static ambient (It's a reference to Server's)
stop() - Method in class simulator.Client
This is called by the applet when it stops
strNode - Variable in class simulator.Nodes
Contains a string to use for building a node in memory
SV - Variable in class simulator.Server
This is the thread that updates the simulator state and send the VRML view to the client
SV - Variable in class simulator.Connection
This is the thread that updates the simulator state and send the VRML view to the client

T

Tab - Variable in class simulator.CodeTable
This is the Hashtable that contains the codes
tableMFNode - Variable in class simulator.Client
Contains the tokens available for MFNode VRML field
tableSFBool - Variable in class simulator.Client
Contains the tokens available for SFBool VRML field
tableSFColor - Variable in class simulator.Client
Contains the tokens available for SFColor VRML field
tableSFFloat - Variable in class simulator.Client
Contains the tokens available for SFFloat VRML field
tableSFInt32 - Variable in class simulator.Client
Contains the tokens available for SFInt32 VRML field
tableSFNode - Variable in class simulator.Client
Contains the tokens available for SFNode VRML field
tableSFRotation - Variable in class simulator.Client
Contains the tokens available for SFRotation VRML field
tableSFTime - Variable in class simulator.Client
Contains the tokens available for SFTime VRML field
tableSFVec2f - Variable in class simulator.Client
Contains the tokens available for SFVec2f VRML field
tableSFVec3f - Variable in class simulator.Client
Contains the tokens available for SFVec3F VRML field
tile - Variable in class simulator.Queue
The pointer to tile of queue
timeToSend - Variable in class simulator.SendVRML
Indicate how many times we must attend before send a vrml scene to the client.
timeToSend - Variable in class simulator.Server
Indicate how many times we must attend before send a vrml scene to client.
typePrompt - Variable in class simulator.Client
This Label is used with the TextField and it used only by graphicAppletInit method.
Types - Variable in class simulator.CodeTable
Contain the actual valid vrml type
typist - Variable in class simulator.Client
Contains the instance of Typist class
Typist - class simulator.Typist.
A thread-class that handle the text typist in an TextField and send message to the server
Typist(Socket, TextField, Client) - Constructor for class simulator.Typist
Initilaize object: create new streams and start thread

U

userName - Variable in class simulator.Nodes
contains the name of the user that hold the node

V

V() - Method in class simulator.Semaphore
Perform a V operation (if there's suspended processes, it will resume one of them)
value - Variable in class simulator.Semaphore
The actual number of available resorces

W

WhoClientCommand - class simulator.WhoClientCommand.
Implements the client command that shows who are connected now
WhoClientCommand() - Constructor for class simulator.WhoClientCommand
Initialize object for WHO command
whoString() - Method in class simulator.Connection
Gets the names of the connected users
winAll - Variable in class simulator.Client
This is the area used to write the information that the server send us.
window - Variable in class simulator.Typist
Contain the line that the client users write
window - Variable in class simulator.Listener
Contains the reference to an TextArea where we write the message that server send us
winLocal - Variable in class simulator.Client
This is the control used to insert information to send to the server.

A B C D E F G H I K L M N O P Q R S T U V W