Interface EclipseEngine
- All Superinterfaces:
EclipseConnection
- All Known Implementing Classes:
EmbeddedEclipse, OutOfProcessEclipse
Interface of objects providing "ownership" of an ECLiPSe engine.
As well as the functionality
provided by the
EclipseConnection interface,
classes which implement
EclipseEngine also allow access to the ECLiPSe engine's standard
streams: stdin, stdout and sterr.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn a FromEclipseQueue which allows access to the ECLiPSe engine'sstderrstream.Return a ToEclipseQueue which allows access to the ECLiPSe engine'sstdinstream.Return a FromEclipseQueue which allows access to the ECLiPSe engine'sstdoutstream.booleanQuery the ECLiPSe engine's "use queues" flag.Methods inherited from interface EclipseConnection
compile, getAsyncEclipseQueue, getFromEclipseQueue, getPath, getPeerName, getToEclipseQueue, registerMultitask, rpc, rpc, rpc, rpc, rpc, rpc, rpc, rpc, rpcModifier and TypeMethodDescriptionvoidDirect ECLiPSe to compile a named object file.getAsyncEclipseQueue(String name) Create or access an asynchronous queue to transfer data between Java and ECLiPSe.getFromEclipseQueue(String name) Create or access a queue to transfer data from ECLiPSe to Java.Convert a file path from the Java representation to the ECLiPSe representation.Return the name by which the peer representing the Java side of the connection is indexed in ECLiPSe.getToEclipseQueue(String name) Create or access a queue to transfer data from Java to ECLiPSe.registerMultitask(MultitaskListener multitaskListener) Register this peer as desiring participation in any multitasking phases that ECLiPSe enters.rpc(CompoundTerm goal) Make an "RPC" (remote predicate call) to the ECLiPSe engine.Conveniencerpcmethod.Make an "RPC" (remote predicate call) to the ECLiPSe engine.Conveniencerpcmethod.Conveniencerpcmethod.Conveniencerpcmethod.Conveniencerpcmethod.Conveniencerpcmethod.Conveniencerpcmethod.
-
Method Details
-
getEclipseStdin
Return a ToEclipseQueue which allows access to the ECLiPSe engine'sstdinstream. Returns null if the ECLiPSe was not set up to use queue objects for its standard streams (seeEclipseEngineOptions).- Throws:
EclipseTerminatedException- if the ECLiPSe engine has been destroyed or disconnected.
-
getEclipseStdout
Return a FromEclipseQueue which allows access to the ECLiPSe engine'sstdoutstream. Returns null if the ECLiPSe was not set up to use queue objects for its standard streams (seeEclipseEngineOptions).- Throws:
EclipseTerminatedException- if the ECLiPSe engine has been destroyed.
-
getEclipseStderr
Return a FromEclipseQueue which allows access to the ECLiPSe engine'sstderrstream. Returns null if the ECLiPSe was not set up to use queue objects for its standard streams (seeEclipseEngineOptions).- Throws:
EclipseTerminatedException- if the ECLiPSe engine has been destroyed.
-
isUsingQueues
boolean isUsingQueues()Query the ECLiPSe engine's "use queues" flag. If true, ECLiPSe's standard streams (stdin, stdout and stderr) have been linked to FromEclipseQueue/ToEclipseQueue objects: if false, they have been linked to the operating system standard streams.
-