Clones by serialization, to keep variable bindings; these should form a closed graph
within this term, otherwise the new term instance would contain dangling references
Represents a Java class object; avoids the need to use a full blown object specifier for the real
Java class object (a Class instance) on the Prolog side, by relying on the Java call-back mechanism to interpret the contents
of this object at callback time
Returns the path for the Prolog file that must be loaded for InterProlog to function, USING '/' AS THE SEPARATION CHARACTER independently of the OS platform
True if an error, as obtained in a ResultFromProlog object, looks like an interrupt detection on the Prolog side,
cf. predicate handleDeterministicGoal in interprolog.P/pl/etc. resultError is not null
Register an object with this Engine, so it later can be referred from Prolog without serializing it, and returns
an InvisibleObject encapsulating the reference.
Register an object with this Engine, so it later can be referred from Prolog without serializing it, and returns
an InvisibleObject encapsulating the reference.
An object consuming input from a stream, analysing it and sending messages to a list
of OutputListener objects; if a debugStream is provided it gets a copy of all the input read
Vaguely similar to an ObjectOutputStream, but sends the total number of serialized bytes up front,
so Prolog can keep grammar and socket reads separate without hanging for input.
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 '_'
If true, the Java execution of javaMessage predicates will happen in new threads (default);
if false, execution will be under the thread of the deterministicGoal currently executing in Prolog
If true, the Java execution of javaMessage predicates will happen in new threads (default);
if false, execution will be under the thread of the deterministicGoal currently executing in Prolog
Returns the path for the Prolog file that must be loaded for InterProlog's visualization predicates to function, typically
in the context of using a ListenerWindow.