Declarativa Declarativa
 

 

Entrada

Produtos

Serviços

Inquiridor
Aplicações internet à medida
Auditoria informática
Subcontratação para I&D

Plataforma de conteúdos

Tecnologia

Web Information Systems
Web Application Maker
InterProlog

A empresa

Apresentação institucional

com.declarativa.interprolog
Class SWISubprocessEngine

java.lang.Object
  extended bycom.declarativa.interprolog.AbstractPrologEngine
      extended bycom.declarativa.interprolog.SubprocessEngine
          extended bycom.declarativa.interprolog.SWISubprocessEngine
All Implemented Interfaces:
PrologEngine

public class SWISubprocessEngine
extends SubprocessEngine

A PrologEngine encapsulating a SWI Prolog engine, accessed over TCP/IP sockets.


Field Summary
 
Fields inherited from class com.declarativa.interprolog.AbstractPrologEngine
firstJavaMessageName, interrupting, nl, prologBinDirectoryOrCommand
 
Fields inherited from interface com.declarativa.interprolog.PrologEngine
MAX_INT_VALUE, MIN_INT_VALUE, version
 
Constructor Summary
SWISubprocessEngine()
           
SWISubprocessEngine(String prologCommand)
           
SWISubprocessEngine(String prologCommand, boolean debug)
           
SWISubprocessEngine(String prologCommand, boolean debug, boolean loadFromJar)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWISubprocessEngine

public SWISubprocessEngine(String prologCommand,
                           boolean debug,
                           boolean loadFromJar)

SWISubprocessEngine

public SWISubprocessEngine(String prologCommand,
                           boolean debug)

SWISubprocessEngine

public SWISubprocessEngine(String prologCommand)

SWISubprocessEngine

public SWISubprocessEngine()
Method Detail

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



 Declarativa - Serviços de Informática, Lda.
  www.declarativa.com, info@declarativa.com  fax: +351-22-030-1511  tel: +351-22-030-1580
UPTEC - Parque de Ciência e Tecnologia da Universidade do Porto (GoogleMap)
Rua Actor Ferreira da Silva 100 4200-298 Porto Portugal