Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
J
L
M
N
O
P
Q
R
S
T
U
W
A
AddSimItem(JSimProcess, JSimHead)
- Method in class
SimulationData
Storing referention of all Items in Simulation
AddTimeItemMain(Server, double, double, double, double, double, double)
- Method in class
SimulationData
Store data to server referens list
addAntiMessage(double, String)
- Method in class
ClientData
This method store anti-message
to field
PAR: (double) .. anti-mesage time stamp
(string) .. this AM is for this receiver
addGeneratorRef(JSimProcess)
- Method in class
ClientData
This method store referencis of generating item in simulation
to field
PAR: (JSimProcess) .. reference of generator
addNotReadyUser(String)
- Method in class
ServerData
Add user to list of not yet ready users
PAR : (String) .. user name
addSender(int, String)
- Method in class
ServerData
This method add sender name to stack
PAR: (int) ..client ID
(String) ..sender name
RV: (int) 1.. sucess
-1.. item allready exist
addSenderName(String)
- Method in class
ClientData
This method store sender name to field, that is nessary dou to
GTV computing
PAR:
(string) .. sender name
addServerAndQueueRef(JSimProcess, JSimHead)
- Method in class
ClientData
allClientsGoAck()
- Method in class
ServerData
All clients send order go_ack
RV: (int) 1 .. yes
-1 .. no
allClientsReady()
- Method in class
ServerData
Are all clients ready?
allClientsSimOver()
- Method in class
ServerData
all simulation over
RV: (int) 1 .. yes
-1 .. no
allClientsStopAck()
- Method in class
ServerData
All clients send order stop_ack
RV: (int) 1 .. yes
-1 .. no
allFlagsSet()
- Method in class
ServerData
seting all flag involved to stop&go simulation
allSimItem
- Variable in class
SimulationData
am_all
- Variable in class
ServerData
am_queue
- Variable in class
ServerData
am_time_stamp
- Variable in class
ClientData
am_time_stamp_1
- Variable in class
ClientData
anti_message_field
- Variable in class
ClientData
anyMessageNotSended(String)
- Method in class
ServerData
Are in queue any messages for user
Par: (String) ParName .. receiver name
RV : true .. yes in stack is message for u.
anyNotExecutedEvent()
- Method in class
ClientData
are in input queue any not executed events in
input queue
RV: (boolean) true .. yes there are
false .. no one
anyNotSendedEvent()
- Method in class
ClientData
are in output queue any not sended events in
RV: (boolean) true .. yes there are
false .. no one
B
base
- Variable in class
ServerData
C
C_LEVEL
- Static variable in class
ServerData
ClientData
- class
ClientData
.
ClientData(JSimSimulation)
- Constructor for class
ClientData
ClientMainThread
- class
ClientMainThread
.
ClientMainThread(ClientData)
- Constructor for class
ClientMainThread
ClientReadThread
- class
ClientReadThread
.
ClientReadThread(BufferedReader, ClientData)
- Constructor for class
ClientReadThread
ClientWriteThread
- class
ClientWriteThread
.
ClientWriteThread(PrintWriter, ClientData)
- Constructor for class
ClientWriteThread
CloseFile()
- Method in class
ClientData
Close server login file
RV: (int) 1 .. file closed succefully
-1 ..
CountOfAllItem()
- Method in class
SimulationData
Retur number of all stored item
CreateFile()
- Method in class
ClientData
Create file for saving of all server trafic
RV: (int) 1 .. file created succefully
-1 ..
c_count
- Variable in class
ServerData
checkAllSenderLastEvent(int)
- Method in class
ServerData
This method check if all simulation of sender
are done
PAR: (int) ..client ID
RV: (int) 0 ..
checkOutGoingMessages(double)
- Method in class
ClientData
Are There any incorect sended messages to other
client
PAR : (double) ..
clearAllLinks()
- Method in class
ClientData
Delete all links in queues
closeTraficFile()
- Method in class
ServerData
Close server login file
RV: (int) 1 .. file closed succefully
-1 ..
comm_ready
- Variable in class
ClientData
D
DEFAULT_PORT
- Variable in class
ClientMainThread
DEFAULT_PORT
- Static variable in class
MainServer
DistributedSimulation
- class
DistributedSimulation
.
DistributedSimulation(String)
- Constructor for class
DistributedSimulation
deadlockIdleTime
- Variable in class
ServerData
deleteAllItemInCalender(JSimProcess)
- Method in class
DistributedSimulation
deleteRolledEvents(double)
- Method in class
ClientData
This method delete Events from input queue with time
stamp greater then time stamp of strangler message
and from simulation whitch can by rolled back
PAR: (double) ..
dropTable()
- Method in class
ServerData
Print list of all clients and his status
E
endSimTime
- Variable in class
ServerData
eraseAMFromQueue(double)
- Method in class
ServerData
Erase item from Anti-Message queue
PAR: (double) ParMessage .. time stamp of anti-m.
eraseAntiMessageField()
- Method in class
ClientData
This method is call when all AM are sended and now are erase
from field
RV: (int) .. number of erased anti messages
eraseMessageWhenRollback(double, String)
- Method in class
ServerData
This method delete all message in stack when
anti-message comin
PAR: (double) .. anti message time stamp
(string) .. receiver name
RV: (int) .. count of deleted messages
eraseRolledEvent(double)
- Method in class
ClientData
erase all events with time stamp greater then time stamp
of strangler message as not procesed
PAR: (double) ..
eraseSimItem(double)
- Method in class
ClientData
erase all incorect processed items from simulation
PAR: (double) ..
eraseUndedEvent(double)
- Method in class
ClientData
erase all events with time stamp greater then time stamp
of strangler message as not procesed
PAR: (double) ..
F
finalize()
- Method in class
ClientData
fw
- Variable in class
ServerData
fwInQ
- Variable in class
ClientData
fwOutQ
- Variable in class
ClientData
fwSim
- Variable in class
ClientData
fwTraf
- Variable in class
ClientData
fwVis
- Variable in class
ClientData
G
Generator
- class
Generator
.
Generator(String, DistributedSimulation, double, QueueWithServer, ClientData)
- Constructor for class
Generator
GetIndexSimItem(JSimProcess)
- Method in class
SimulationData
get index of referensis in list of all component ind simulation
get(int)
- Method in class
ServerData
Get the message with lowest time_stamp from shared server's memory
PAR : (int) par_id .. reveiver id
RETURN VALUE : (server_message_item)
or null if something wrong
getAntiMessage()
- Method in class
ClientData
This method get one anti-message
from field
RV: (AntiMessageItem) .. anti-mesage object
else null if there no more AM in Field
getCountOfEvents(int)
- Method in class
ServerData
This method return count of events for user
PAR: (int) .. user id
RV: (int) .. count of events in stack
getCountOfUser()
- Method in class
ClientData
This method return count of user in field
RV: (int) count of user
getCounter()
- Method in class
Server
getCreationTime(double)
- Method in class
ClientData
get value of creation Time of Event with TimeStamp
PAR: (double) .. time stamp of events
RV: (double) ..
getCreationTime()
- Method in class
Transaction
getFromInputQueue()
- Method in class
ClientData
get incoming events from input queue
RV: (MessageItem) event
getFromOutputQueue()
- Method in class
ClientData
take event from output queue with lowest time
RV: (MessageItem)
item with event
getGVT()
- Method in class
ServerData
This method comput GTV
RV: (double) value of GVT
getIndexInQ()
- Method in class
ClientData
get index of item with lowest time stamp and not executed
getIndexOutQ()
- Method in class
ClientData
get index of item with lowest time stamp and not sended
getLBTS()
- Method in class
ClientData
this method compute LBTS
RV: (double) ..
getMessageItem(String, MessageItem)
- Method in class
ClientReadThread
getNewMessage(StringBuffer, MessageItem, AntiMessageItem, int)
- Method in class
ClientWriteThread
Creating message PAR: ParItem_1 (ClientMessageItem) ..
getNumberOfRollBack()
- Method in class
DistributedSimulation
getNumberOfUndo()
- Method in class
DistributedSimulation
getPredEvent(double)
- Method in class
ClientData
This method return time stamp of Event that is queue
before antimessage
PAR: (double) ..
getServer()
- Method in class
QueueWithServer
getServerAddress()
- Method in class
ClientData
This method get server ip if this method isnt called
server adres is local host
RV: (String) ..
getServerIdle()
- Method in class
ServerData
This method get time how long is server
not working
RV(long) .. time in milisekunds
getSimItem(JSimProcess)
- Method in class
ClientData
restore all components in simulation to stable state
PAR: (double) ..
getTransTq()
- Method in class
Server
getUserId(String)
- Method in class
ServerData
This method return ID of user
PAR : (String) user name
Return Value: (int) user ID from variable base
-1 user not found
getUserName(int)
- Method in class
ClientData
get user (simulation) name
PAR: (int) ParIndex
RV: (String) ParUserName .. user name
go_all
- Variable in class
ServerData
gui_data
- Variable in class
ServerGui
gui_data
- Static variable in class
SettingsForm
I
inCominCount
- Variable in class
NetPoint
input_queue
- Variable in class
ClientData
insertLBTS(String, double)
- Method in class
ClientData
this method add time stamp to user field its nessary duo to
computing GTV
PAR: (string) sender name
(double) time stamp
isUserInReadyList(String)
- Method in class
ServerData
Is this user in ready list ?
J
jButton1
- Variable in class
ServerGui
jComboBox1
- Variable in class
ServerGui
jLabel10
- Variable in class
ServerGui
jLabel12
- Variable in class
ServerGui
jLabel14
- Variable in class
ServerGui
jLabel16
- Variable in class
ServerGui
jLabel17
- Variable in class
ServerGui
jLabel18
- Variable in class
ServerGui
jLabel2
- Variable in class
ServerGui
jLabel20
- Variable in class
ServerGui
jLabel22
- Variable in class
ServerGui
jLabel23
- Variable in class
ServerGui
jLabel24
- Variable in class
ServerGui
jLabel4
- Variable in class
ServerGui
jLabel5
- Variable in class
ServerGui
jLabel7
- Variable in class
ServerGui
L
last_time
- Variable in class
ClientData
life()
- Method in class
Generator
life()
- Method in class
NetPoint
life()
- Method in class
Server
list_not_users
- Variable in class
ServerData
loadFromAMQueue(int)
- Method in class
ServerData
Load message with lowest time stamp from queue
Par: (int) ParId .. receiver id
RV: (MessageItem) .. message
M
MainServer
- class
MainServer
.
MainServer(ServerGui, ServerData)
- Constructor for class
MainServer
main(String[])
- Static method in class
QueueingNetworksExample_1
main(String[])
- Static method in class
QueueingNetworksExample_2
main(String[])
- Static method in class
QueueingNetworksExample_3
main(String[])
- Static method in class
QueueingNetworksExample_4
main(String[])
- Static method in class
QueueingNetworksExample_5
main(String[])
- Static method in class
ServerGui
main(String[])
- Static method in class
SettingsForm
mustGetAntiMessageIndex(double)
- Method in class
ClientData
This methor return index of message from output queue
with creation time lower then time stamp of strangler
message
PAR : (double) ..
N
NetPoint
- class
NetPoint
.
NetPoint(String, DistributedSimulation, QueueWithServer[], ClientData)
- Constructor for class
NetPoint
NetPoint(String, DistributedSimulation, QueueWithServer, ClientData)
- Constructor for class
NetPoint
net_pom
- Variable in class
NetPoint
O
operationRollback(double, ClientData)
- Method in class
DistributedSimulation
operationUndo(double, ClientData)
- Method in class
DistributedSimulation
order_am
- Variable in class
ClientData
order_am_ack
- Variable in class
ClientData
order_am_all
- Variable in class
ClientData
order_am_all_ack
- Variable in class
ClientData
order_am_all_exec
- Variable in class
ClientData
order_am_exec
- Variable in class
ClientData
order_cexit
- Variable in class
ClientData
order_cexit_ack
- Variable in class
ClientData
order_cexit_exec
- Variable in class
ClientData
order_go
- Variable in class
ClientData
order_go_ack
- Variable in class
ClientData
order_go_all
- Variable in class
ClientData
order_go_all_ack
- Variable in class
ClientData
order_go_all_exec
- Variable in class
ClientData
order_go_exec
- Variable in class
ClientData
order_last_event_deadlock
- Variable in class
ClientData
order_lt
- Variable in class
ClientData
order_lt_exec
- Variable in class
ClientData
order_sim_over
- Variable in class
ClientData
order_so
- Variable in class
ClientData
order_so_ack
- Variable in class
ClientData
order_so_exec
- Variable in class
ClientData
order_stop
- Variable in class
ClientData
order_stop_ack
- Variable in class
ClientData
order_stop_all
- Variable in class
ClientData
order_stop_all_ack
- Variable in class
ClientData
order_stop_all_exec
- Variable in class
ClientData
order_stop_exec
- Variable in class
ClientData
outputStatus
- Variable in class
ClientData
output_queue
- Variable in class
ClientData
P
pause
- Variable in class
ClientData
printOnScreen
- Variable in class
ServerData
printToFile
- Variable in class
ServerData
put(ServerMessageItem, int)
- Method in class
ServerData
storing message to stack and inc message counter
par_item contain flag of message, sender name, message, receiver name
Return Value : (int)
1 .. saved sucesfully
putToInputQueue(MessageItem)
- Method in class
ClientData
Store incoming message's to input queue
PAR : (client_message_item) parsed message
RETURN VALUE: (int)
1 ..
putToOutputQueue(String)
- Method in class
ClientData
Store incoming orders from simulation
PAR : (String) .. order
RETURN VALUE: (int) 1.. known order
-1 .. uknown order
putToOutputQueue(double, double, String, int)
- Method in class
ClientData
put incoming Event from simulation to output queue
PAR :
(double) .. time stamp of event
(double) .. time of creation of event
(String) .. name of receiver of event
(int) .. number of gate in simulation
RETURN VALUE: (int)
1 ..
Q
QueueWithServer
- class
QueueWithServer
.
QueueWithServer(String, UnsecureSimulation, JSimProcess)
- Constructor for class
QueueWithServer
QueueingNetworksExample_1
- class
QueueingNetworksExample_1
.
QueueingNetworksExample_1()
- Constructor for class
QueueingNetworksExample_1
QueueingNetworksExample_2
- class
QueueingNetworksExample_2
.
QueueingNetworksExample_2()
- Constructor for class
QueueingNetworksExample_2
QueueingNetworksExample_3
- class
QueueingNetworksExample_3
.
QueueingNetworksExample_3()
- Constructor for class
QueueingNetworksExample_3
QueueingNetworksExample_4
- class
QueueingNetworksExample_4
.
QueueingNetworksExample_4()
- Constructor for class
QueueingNetworksExample_4
QueueingNetworksExample_5
- class
QueueingNetworksExample_5
.
QueueingNetworksExample_5()
- Constructor for class
QueueingNetworksExample_5
queue
- Variable in class
ServerData
R
ref_field
- Variable in class
ClientData
restore(JSimProcess)
- Method in class
Server
This method is call vhen undo operation is comin
and restore all values from time when simulation was
in stable state
please don't call it direct
run()
- Method in class
ClientMainThread
run()
- Method in class
ClientReadThread
run()
- Method in class
ClientWriteThread
run()
- Method in class
MainServer
run()
- Method in class
ServerReadThread
Main Reading Loop With Branching
run()
- Method in class
ServerWriteThread
S
Server
- class
Server
.
Server(String, DistributedSimulation, double, double, QueueWithServer, QueueWithServer, ClientData)
- Constructor for class
Server
Use this Constructor for distributed simulation but not for output point
Server(String, DistributedSimulation, double, double, QueueWithServer, QueueWithServer, ClientData, String, int)
- Constructor for class
Server
Constructor for distributed simulation for point where you can store events to output queue
ServerData
- class
ServerData
.
This class contain all buffer a shared fields
there are methods for access to variables
ServerData(ServerGui)
- Constructor for class
ServerData
Constructor of class stack_data
ServerGui
- class
ServerGui
.
ServerGui()
- Constructor for class
ServerGui
Creates new form pajda
ServerReadThread
- class
ServerReadThread
.
ServerReadThread(BufferedReader, int, ServerData, ServerGui)
- Constructor for class
ServerReadThread
ServerWriteThread
- class
ServerWriteThread
.
ServerWriteThread(PrintWriter, int, ServerData, ServerGui)
- Constructor for class
ServerWriteThread
SettingsForm
- class
SettingsForm
.
SettingsForm(Frame, boolean, guiData)
- Constructor for class
SettingsForm
Creates new form settingsForm
SimulationData
- class
SimulationData
.
SimulationData()
- Constructor for class
SimulationData
sender_field
- Variable in class
ClientData
setCreationTime(double)
- Method in class
Transaction
setNotExecuted(double)
- Method in class
ClientData
Set all events with time stamp greater then time stamp
of strangler message as not procesed
PAR: (double) ..
setOutputStatus(int)
- Method in class
ClientData
Method set output status
PAR: (int) .. 1 Output on screen
2 Output on screen + to file
3 Output to file
setReceiverName(String)
- Method in class
ClientData
Add receiver(simulation) name to field
Par: (String) ParUserName .. user name
setSenderLastEvent(int, boolean)
- Method in class
ServerData
This method set that sender simulation is done
PAR:(int) ..
setServer(JSimProcess)
- Method in class
QueueWithServer
setServerAddress(String)
- Method in class
ClientData
This method set server ip if this method isnt called
server adres is local host
Par: (String) ..
setSimulationEndTime(double)
- Method in class
NetPoint
This Mmethod set simulation end time
setSimulationName(String)
- Method in class
ClientData
Set user (simulation) name
Par: (String) ParUserName .. user name
setSimulationStatus(int)
- Method in class
ClientData
Method set simulation status
PAR: (int) .. 1 this simulation can't by rooled back
2 this simulation can by rooled back
simData
- Variable in class
ClientData
simName
- Variable in class
ClientData
simulation
- Variable in class
ClientData
simulation
- Variable in class
NetPoint
simulation
- Variable in class
Server
simulationStatus
- Variable in class
ClientData
startSimTime
- Variable in class
ServerData
stop_all
- Variable in class
ServerData
storeClient(int, String)
- Method in class
ServerData
store user to ready-user list
if user is in not-ready-user list his item
is erased
PAR: (int) par_id .. user id
(String) par_name .. user name
RV: (int)
storeToAMQueue(int, String, String, double, double, int)
- Method in class
ServerData
Store parts of anti message to Buffer
PAR: (int) ParFlag .. kind of meesage
(String) ParFrom .. message sender
(String) ParTo .. message receiver
(double) ParMessage1 .. time stamp 1
(double) ParMessage2 .. time stamp 2
T
Transaction
- class
Transaction
.
Transaction(double)
- Constructor for class
Transaction
thread_sleep(int)
- Method in class
ClientData
U
unLockPause()
- Method in class
ClientData
undo()
- Method in class
ClientData
unlock()
- Method in class
ClientData
Free locked simulation thread
unlock()
- Method in class
ServerData
Unlock all users
user_list
- Variable in class
ClientData
W
WriteInQToFile()
- Method in class
ClientData
Write-in to client file InputQueue
WriteOutQToFile()
- Method in class
ClientData
Write-in to client file InputQueue
WriteToFile(String)
- Method in class
ClientData
Write-in to client login file
Par: (String) ParLine ..
WriteToSimFile(String)
- Method in class
ClientData
Write output to simulation trafic file
Par: (String) ParLine ..
WriteToVisFile(String)
- Method in class
ClientData
Write-in to visulal login file
Par: (String) ParLine ..
writeToFile(String)
- Method in class
ServerData
Write to server login file or on screen
Par: (String) ParLine ..
A
B
C
D
E
F
G
I
J
L
M
N
O
P
Q
R
S
T
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes