org.symcomp.scscp
Class CASClient
java.lang.Object
org.symcomp.scscp.CASClient
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- SCSCPClient
public class CASClient
- extends java.lang.Object
- implements java.lang.Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.String id
computations
protected java.util.Map<java.lang.String,Computation> computations
waitingComputations
protected java.util.Queue waitingComputations
currentComputation
protected Computation currentComputation
resultThread
protected java.lang.Thread resultThread
CASClient
public CASClient()
compute
public java.lang.String compute(OpenMathBase omCommand)
getComputation
public Computation getComputation(java.lang.String token)
getComputations
public java.util.List<Computation> getComputations()
getNumberOfComputations
public java.lang.Integer getNumberOfComputations()
getResult
public OpenMathBase getResult(java.lang.String token)
resultAvailable
public java.lang.Boolean resultAvailable(java.lang.String token)
throws java.lang.Exception
- Throws:
java.lang.Exception
isIdle
public java.lang.Boolean isIdle()
run
public void run()
- Specified by:
run in interface java.lang.Runnable
Copyright © 2010. All Rights Reserved.