public class YAPSubprocessEngine extends SubprocessEngine
SubprocessEngine.OutputDumper
ctrl_c, ctrlc
firstJavaMessageName, interPrologFileLoaded, nl, prologBinDirectoryOrCommand
MAX_INT_VALUE, MIN_INT_VALUE, version
Constructor and Description |
---|
YAPSubprocessEngine() |
YAPSubprocessEngine(boolean debug) |
YAPSubprocessEngine(String prologCommand) |
YAPSubprocessEngine(String[] prologCommands) |
YAPSubprocessEngine(String[] prologCommands,
boolean debug) |
YAPSubprocessEngine(String[] prologCommands,
boolean debug,
boolean loadFromJar) |
YAPSubprocessEngine(String[] prologCommands,
boolean outAndErrMerged,
boolean debug,
boolean loadFromJar) |
YAPSubprocessEngine(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 YAPSubprocessEngine(String[] prologCommands, boolean outAndErrMerged, boolean debug, boolean loadFromJar)
public YAPSubprocessEngine(String[] prologCommands, boolean debug, boolean loadFromJar)
public YAPSubprocessEngine(String[] prologCommands, boolean debug)
public YAPSubprocessEngine(String[] prologCommands)
public YAPSubprocessEngine(String prologCommand, boolean debug)
public YAPSubprocessEngine(String prologCommand)
public YAPSubprocessEngine(boolean debug)
public YAPSubprocessEngine()
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