com.ptc.wvs.server.cadagent
Class CadAgentServer

java.lang.Object
  extended bycom.ptc.wvs.server.cadagent.CadAgentServer
All Implemented Interfaces:
Runnable

public class CadAgentServer
extends Object
implements Runnable


Field Summary
private  CadConnection cadConnection
           
private  CadWorkers cadWorkers
           
private  boolean distributed
           
private  boolean gui
           
private  String iniFileContents
           
private  boolean inMethodServer
           
private  String logDirectory
           
private  int maxInstances
           
private  boolean noAutoStart
           
private  boolean started
           
 
Constructor Summary
CadAgentServer()
           
CadAgentServer(boolean inMethodServer)
           
 
Method Summary
 void autoStart()
           
 CadWorkers getCadWorkers()
           
 Log getDistributedLog()
           
 int getMaxInstances()
           
 boolean isNoAutoStart()
           
 boolean isStarted()
           
 void run()
           
 void setDistributed(boolean distributed)
           
 void setGui(boolean gui)
           
 void setIniFileContents(String contents)
           
(package private)  void stop()
           
 void submitWorkOrder(WorkOrder wo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cadConnection

private CadConnection cadConnection

iniFileContents

private String iniFileContents

gui

private boolean gui

distributed

private boolean distributed

cadWorkers

private CadWorkers cadWorkers

logDirectory

private String logDirectory

maxInstances

private int maxInstances

started

private boolean started

noAutoStart

private boolean noAutoStart

inMethodServer

private boolean inMethodServer
Constructor Detail

CadAgentServer

public CadAgentServer()

CadAgentServer

public CadAgentServer(boolean inMethodServer)
Method Detail

setIniFileContents

public void setIniFileContents(String contents)

getCadWorkers

public CadWorkers getCadWorkers()

setGui

public void setGui(boolean gui)

setDistributed

public void setDistributed(boolean distributed)

getDistributedLog

public Log getDistributedLog()

autoStart

public void autoStart()

isNoAutoStart

public boolean isNoAutoStart()

submitWorkOrder

public void submitWorkOrder(WorkOrder wo)

run

public void run()
Specified by:
run in interface Runnable

stop

void stop()

getMaxInstances

public int getMaxInstances()

isStarted

public boolean isStarted()