| |
com.declarativa.interprolog
Class SWISubprocessEngine
java.lang.Object
com.declarativa.interprolog.AbstractPrologEngine
com.declarativa.interprolog.SubprocessEngine
com.declarativa.interprolog.SWISubprocessEngine
- All Implemented Interfaces:
- PrologEngine
- public class SWISubprocessEngine
- extends SubprocessEngine
A PrologEngine encapsulating a SWI Prolog engine, accessed over TCP/IP sockets.
Method Summary |
boolean |
realCommand(String s)
This implementation may get stuck if the command includes variables, because the Prolog
top level interpreter may offer to compute more solutions; use variables prefixed with '_' |
Methods inherited from class com.declarativa.interprolog.SubprocessEngine |
addPrologOutputListener, addPrologStderrListener, addPrologStdoutListener, deterministicGoal, isAvailable, removePrologOutputListener, removePrologStderrListener, removePrologStdoutListener, sendAndFlush, sendAndFlushLn, setDebug, shutdown |
Methods inherited from class com.declarativa.interprolog.AbstractPrologEngine |
abortTasks, assignableType, command, consultAbsolute, consultFromPackage, consultRelative, deterministicGoal, deterministicGoal, deterministicGoal, deterministicGoal, doCallback, endAllTasks, findConstructor, findMethod, firstJavaMessage, getImplementationPeer, getJarDirectory, getJarDirectory, getLoadFromJar, getPrologBaseDirectory, getPrologNumericVersion, getPrologVersion, getRealJavaObject, getRealJavaObject, getRealJavaObject, handleCallback, interrupt, interruptTasks, isDebug, isIdle, isMacOS, isShutingDown, isWindowsOS, load_dynRelative, makeInvisible, printBindings, progressMessage, prologBinToBaseDirectory, registerJavaObject, setThreadedCallbacks, shortClassName, teachMoreObjects, teachMoreObjects, teachMoreObjects, teachOneObject, unescapedFilePath, unregisterJavaObject, unregisterJavaObject, unregisterJavaObjects, waitUntilAvailable, waitUntilIdle |
SWISubprocessEngine
public SWISubprocessEngine(String prologCommand,
boolean debug,
boolean loadFromJar)
SWISubprocessEngine
public SWISubprocessEngine(String prologCommand,
boolean debug)
SWISubprocessEngine
public SWISubprocessEngine(String prologCommand)
SWISubprocessEngine
public SWISubprocessEngine()
realCommand
public boolean realCommand(String s)
- Description copied from class:
SubprocessEngine
- This implementation may get stuck if the command includes variables, because the Prolog
top level interpreter may offer to compute more solutions; use variables prefixed with '_'
- Overrides:
realCommand in class SubprocessEngine
|