com.maplesoft.client.maplets
Class MapleNetMathEngine

java.lang.Object
  |
  +--com.maplesoft.client.maplets.MapleNetMathEngine
All Implemented Interfaces:
com.maplesoft.mathconnection.MathEngine

public class MapleNetMathEngine
extends java.lang.Object
implements com.maplesoft.mathconnection.MathEngine


Constructor Summary
MapleNetMathEngine()
          Create a Math Engine for use by MapleNet
MapleNetMathEngine(java.lang.String host, int port, java.lang.String username, java.lang.String password)
           
MapleNetMathEngine(java.lang.String host, java.lang.String username, java.lang.String password)
           
 
Method Summary
 void addMathEngineCallbackListener(com.maplesoft.mathconnection.MathEngineCallbackListener listener)
          Add a MathEngineCallbackListener to this MaplenetMathEngine
 void addMathEngineResultListener(com.maplesoft.mathconnection.MathEngineResultListener listener)
           
 void addMathEngineStatusListener(com.maplesoft.mathconnection.MathEngineStatusListener listener)
           
 void addMathEngineStreamCallbackListener(com.maplesoft.mathconnection.MathEngineStreamCallbackListener listener)
           
 void disconnect(java.lang.String parm1)
           
 void dispose()
           
 java.lang.String dump(java.lang.String parm1)
           
 void evaluate(com.maplesoft.mathobject.MathObject mathobject)
           
 void evaluate(com.maplesoft.mathobject.MathObject mathobject, com.maplesoft.mathconnection.MathEngineResultListener l)
           
 void evaluate(java.lang.String data, com.maplesoft.mathobject.MathObject mathobject)
           
 void evaluate(java.lang.String data, com.maplesoft.mathobject.MathObject mathobject, com.maplesoft.mathconnection.MathEngineResultListener l)
           
 java.lang.String getName()
           
 java.lang.String getVersion()
           
 boolean isBusy()
           
static void main(java.lang.String[] args)
           
 void removeMathEngineCallbackListener(com.maplesoft.mathconnection.MathEngineCallbackListener l)
           
 void removeMathEngineResultListener(com.maplesoft.mathconnection.MathEngineResultListener l)
           
 void removeMathEngineStatusListener(com.maplesoft.mathconnection.MathEngineStatusListener l)
           
 void removeMathEngineStreamCallbackListener(com.maplesoft.mathconnection.MathEngineStreamCallbackListener l)
           
 void restart()
           
 void setConsole(MapleNetConsole c)
           
 void setMapletContext(com.maplesoft.maplets.MapletContext cntxt)
           
 void setUseLock(boolean bLock)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.maplesoft.mathconnection.MathEngine
toString
 

Constructor Detail

MapleNetMathEngine

public MapleNetMathEngine()
Create a Math Engine for use by MapleNet

MapleNetMathEngine

public MapleNetMathEngine(java.lang.String host,
                          java.lang.String username,
                          java.lang.String password)

MapleNetMathEngine

public MapleNetMathEngine(java.lang.String host,
                          int port,
                          java.lang.String username,
                          java.lang.String password)
Method Detail

setMapletContext

public void setMapletContext(com.maplesoft.maplets.MapletContext cntxt)

setUseLock

public void setUseLock(boolean bLock)

setConsole

public void setConsole(MapleNetConsole c)

main

public static void main(java.lang.String[] args)

addMathEngineCallbackListener

public void addMathEngineCallbackListener(com.maplesoft.mathconnection.MathEngineCallbackListener listener)
Add a MathEngineCallbackListener to this MaplenetMathEngine
Specified by:
addMathEngineCallbackListener in interface com.maplesoft.mathconnection.MathEngine
Parameters:
listener - a MathEngineCallbackListener for this Math Engine to use

addMathEngineResultListener

public void addMathEngineResultListener(com.maplesoft.mathconnection.MathEngineResultListener listener)
Specified by:
addMathEngineResultListener in interface com.maplesoft.mathconnection.MathEngine

addMathEngineStatusListener

public void addMathEngineStatusListener(com.maplesoft.mathconnection.MathEngineStatusListener listener)
Specified by:
addMathEngineStatusListener in interface com.maplesoft.mathconnection.MathEngine

addMathEngineStreamCallbackListener

public void addMathEngineStreamCallbackListener(com.maplesoft.mathconnection.MathEngineStreamCallbackListener listener)
Specified by:
addMathEngineStreamCallbackListener in interface com.maplesoft.mathconnection.MathEngine

disconnect

public void disconnect(java.lang.String parm1)
                throws com.maplesoft.mathconnection.DisconnectedException
Specified by:
disconnect in interface com.maplesoft.mathconnection.MathEngine

dispose

public void dispose()
             throws com.maplesoft.mathconnection.MathEngineDisposedException
Specified by:
dispose in interface com.maplesoft.mathconnection.MathEngine

dump

public java.lang.String dump(java.lang.String parm1)
Specified by:
dump in interface com.maplesoft.mathconnection.MathEngine

evaluate

public void evaluate(java.lang.String data,
                     com.maplesoft.mathobject.MathObject mathobject)
              throws java.lang.IllegalAccessException,
                     java.lang.InterruptedException,
                     com.maplesoft.mathconnection.EvaluateException,
                     com.maplesoft.mathconnection.MathEngineDisposedException,
                     com.maplesoft.mathconnection.InvalidMathObjectException
Specified by:
evaluate in interface com.maplesoft.mathconnection.MathEngine

evaluate

public void evaluate(com.maplesoft.mathobject.MathObject mathobject)
              throws java.lang.IllegalAccessException,
                     java.lang.InterruptedException,
                     com.maplesoft.mathconnection.EvaluateException,
                     com.maplesoft.mathconnection.MathEngineDisposedException,
                     com.maplesoft.mathconnection.InvalidMathObjectException
Specified by:
evaluate in interface com.maplesoft.mathconnection.MathEngine

evaluate

public void evaluate(com.maplesoft.mathobject.MathObject mathobject,
                     com.maplesoft.mathconnection.MathEngineResultListener l)
              throws java.lang.IllegalAccessException,
                     java.lang.InterruptedException,
                     com.maplesoft.mathconnection.EvaluateException,
                     com.maplesoft.mathconnection.MathEngineDisposedException,
                     com.maplesoft.mathconnection.InvalidMathObjectException
Specified by:
evaluate in interface com.maplesoft.mathconnection.MathEngine

evaluate

public void evaluate(java.lang.String data,
                     com.maplesoft.mathobject.MathObject mathobject,
                     com.maplesoft.mathconnection.MathEngineResultListener l)
              throws java.lang.IllegalAccessException,
                     java.lang.InterruptedException,
                     com.maplesoft.mathconnection.EvaluateException,
                     com.maplesoft.mathconnection.MathEngineDisposedException,
                     com.maplesoft.mathconnection.InvalidMathObjectException
Specified by:
evaluate in interface com.maplesoft.mathconnection.MathEngine

getName

public java.lang.String getName()
Specified by:
getName in interface com.maplesoft.mathconnection.MathEngine

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface com.maplesoft.mathconnection.MathEngine

isBusy

public boolean isBusy()
Specified by:
isBusy in interface com.maplesoft.mathconnection.MathEngine

removeMathEngineCallbackListener

public void removeMathEngineCallbackListener(com.maplesoft.mathconnection.MathEngineCallbackListener l)
Specified by:
removeMathEngineCallbackListener in interface com.maplesoft.mathconnection.MathEngine

removeMathEngineResultListener

public void removeMathEngineResultListener(com.maplesoft.mathconnection.MathEngineResultListener l)
Specified by:
removeMathEngineResultListener in interface com.maplesoft.mathconnection.MathEngine

removeMathEngineStatusListener

public void removeMathEngineStatusListener(com.maplesoft.mathconnection.MathEngineStatusListener l)
Specified by:
removeMathEngineStatusListener in interface com.maplesoft.mathconnection.MathEngine

removeMathEngineStreamCallbackListener

public void removeMathEngineStreamCallbackListener(com.maplesoft.mathconnection.MathEngineStreamCallbackListener l)
Specified by:
removeMathEngineStreamCallbackListener in interface com.maplesoft.mathconnection.MathEngine

restart

public void restart()
             throws com.maplesoft.mathconnection.EvaluationInProgressException,
                    com.maplesoft.mathconnection.MathEngineDisposedException
Specified by:
restart in interface com.maplesoft.mathconnection.MathEngine

stop

public void stop()
          throws com.maplesoft.mathconnection.MathEngineDisposedException
Specified by:
stop in interface com.maplesoft.mathconnection.MathEngine