public class SimulationTask
extends java.lang.Object
implements java.lang.Runnable
Red (jkillian) |
Red (jkillian) |
Constructor and Description |
---|
SimulationTask(Ticket ticket)
Create an instance of the simulation task to be run by the Ptolemy
server application.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the remote model.
|
Manager |
getManager()
Get the manager responsible for coordinating the model of computation.
|
ProxyModelInfrastructure |
getProxyModelInfrastructure()
Return the task's remote model.
|
void |
run()
Start the execution of the simulation by kicking off the thread.
|
public SimulationTask(Ticket ticket) throws java.lang.Exception
ticket
- Reference to the simulation request.java.lang.Exception
- If the simulation encounters a problem setting
the director or getting workspace access.public void close()
public void run()
run
in interface java.lang.Runnable
public Manager getManager()
public ProxyModelInfrastructure getProxyModelInfrastructure()