|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--simulator.SendVRML
This is the class that send a vrml dinamic view of the simulation. It must execute this two tasks:
GenericSendVRML
class
and define the runTask
and sendVRML
method,
becouse this class refer to that methods.
GenericSendVRML
Field Summary | |
protected GenericSendVRML |
GSV
Contains an istance of your send vrml procedures |
protected Server |
server
Contains an instance of Server class |
protected int |
timeToSend
Indicate how many times we must attend before send a vrml scene to the client. |
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
SendVRML(Server server,
GenericSendVRML GSV)
Initialize the internal variable and start thread body |
Method Summary | |
void |
run()
This thread calles the runTask method of
GenericSendVRML and after timeToSend times
calles the sendVRML method too. |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected GenericSendVRML GSV
protected Server server
Server
classprotected int timeToSend
printerTime*timeToSend
ProcessesHandler.printerTime
Constructor Detail |
public SendVRML(Server server, GenericSendVRML GSV)
server
- the istance of the serverGSV
- the istance of your send vrmlMethod Detail |
public void run()
runTask
method of
GenericSendVRML
and after timeToSend
times
calles the sendVRML
method too.GenericSendVRML.runTask()
,
GenericSendVRML.sendVRML()
,
timeToSend
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |