EmbeddedRepl

replpp.server.EmbeddedRepl
class EmbeddedRepl(predefCode: String, verbose: Boolean)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def query(q: String): QueryResult

Submit query q to the shell and return result.

Submit query q to the shell and return result.

Attributes

def queryAsync(q: String)(observer: QueryResult => Unit): UUID

Submit query q to shell and call observer when the result is ready.

Submit query q to shell and call observer when the result is ready.

Attributes

def shutdown(): Unit

Shutdown the embedded shell and associated threads.

Shutdown the embedded shell and associated threads.

Attributes

def start(): Unit

Concrete fields

val fromStdout: PipedInputStream
val inStream: PipedInputStream
val jobQueue: BlockingQueue[Job]
val outStream: PipedOutputStream
val reader: BufferedReader
val shellThread: Thread
val toStdin: PipedOutputStream
val userThread: Thread
val writer: PrintWriter