public class SWISubprocessEngine extends SubprocessEngine
SubprocessEngine.OutputDumper
ctrl_c, ctrlc
firstJavaMessageName, interPrologFileLoaded, nl, prologBinDirectoryOrCommand
MAX_INT_VALUE, MIN_INT_VALUE, version
Constructor and Description |
---|
SWISubprocessEngine() |
SWISubprocessEngine(boolean debug) |
SWISubprocessEngine(String prologCommand) |
SWISubprocessEngine(String[] prologCommands) |
SWISubprocessEngine(String[] prologCommands,
boolean debug) |
SWISubprocessEngine(String[] prologCommands,
boolean debug,
boolean loadFromJar) |
SWISubprocessEngine(String[] prologCommands,
boolean outAndErrMerged,
boolean debug,
boolean loadFromJar) |
SWISubprocessEngine(String prologCommand,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
abortEngine()
Assumes the engine is in a (tracer) break state
|
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 '_'
|
void |
sendAndFlush(String s)
VERY Unsafe method: does NOT make the engine unavailable (as YAP's prompts do no appear)
|
addPrologOutputListener, addPrologStderrListener, addPrologStdoutListener, breakEngine, deterministicGoal, getCharset, isAvailable, isDetectErrorMessages, printPrologOutputToConsole, printPrologOutputToFile, removePrologOutputListener, removePrologStderrListener, removePrologStdoutListener, resumeEngine, sendAndFlushLn, setCharset, setDebug, setDetectErrorMessages, setEngineStarted, setSlowWindowsShutdown, shutdown, waitUntilAvailable
abortTasks, add_lib_dir, addPrologEngineListener, addSoftwareLibrary, addSoftwareLibrary, assignableType, command, command, command, consultAbsolute, consultAbsolute, consultFromPackage, consultFromPackage, consultRelative, createTempDirectory, currentTimeSecs, deleteAll, deleteTempFiles, deterministicGoal, deterministicGoal, deterministicGoal, deterministicGoal, deterministicGoalJSON, doCallback, endAllTasks, exec, executingOnJavaSide, findConstructor, findMethod, firstJavaMessage, getImplementationPeer, getInterprologPath, getJarDirectory, getJarDirectory, getLoadFromJar, getPrologBaseDirectory, getPrologNumericVersion, getPrologVersion, getRealJavaObject, getRealJavaObject, getRealJavaObject, getThePrologListener, goal, goal, handleCallback, hasPrologExtension, inPrologShell, interrupt, interruptTasks, is64WindowsOS, isAllowSimultaneousThreads, isDebug, isIdle, isLinuxOS, isMacOS, isPaused, isProfiling, isSerializable, isShutingDown, isThreadedCallbacks, isWindowsOS, lastSolutionUndefined, load_dynAbsolute, load_dynRelative, loop, loop2, makeInvisible, printAllStackTraces, printAllStackTraces, printBindings, printStackTrace, profilingMessage, progressMessage, progressMessage, prologBinToBaseDirectory, prologCanWork, prologEnteredBreak, prologResumedComputation, prologReturnedToTopLevel, registerJavaObject, removePrologEngineListener, serverFileSeparatorChar, serverIsWindows, setAllowSimultaneousThreads, setProfiling, setThreadedCallbacks, setTimedCallIntervall, shortClassName, stop, teachMoreObjects, teachMoreObjects, teachMoreObjects, teachOneObject, toString, unescapedFilePath, unregisterJavaObject, unregisterJavaObject, unregisterJavaObjects, waitUntilIdle
public SWISubprocessEngine(String[] prologCommands, boolean outAndErrMerged, boolean debug, boolean loadFromJar)
public SWISubprocessEngine(String[] prologCommands, boolean debug, boolean loadFromJar)
public SWISubprocessEngine(String[] prologCommands, boolean debug)
public SWISubprocessEngine(String[] prologCommands)
public SWISubprocessEngine(String prologCommand, boolean debug)
public SWISubprocessEngine(String prologCommand)
public SWISubprocessEngine(boolean debug)
public SWISubprocessEngine()
public boolean realCommand(String s)
SubprocessEngine
realCommand
in class SubprocessEngine
AbstractPrologEngine.command(String)
public void abortEngine()
abortEngine
in class SubprocessEngine
public void sendAndFlush(String s)
sendAndFlush
in class SubprocessEngine