ti.chimera.service
Class Shell

java.lang.Object
  extended byti.chimera.Service
      extended byti.chimera.service.Shell

public abstract class Shell
extends Service

The "shell" service, used to implement a read-eval-print loop.

Version:
0.1
Author:
Rob Clark

Constructor Summary
Shell()
          Class Constructor.
 
Method Summary
abstract  void run(oscript.data.Scope scope, java.io.BufferedReader in, java.io.PrintWriter out, java.io.PrintWriter err)
          Run the shell read-eval-print loop.
 
Methods inherited from class ti.chimera.Service
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Shell

public Shell()
Class Constructor.

Method Detail

run

public abstract void run(oscript.data.Scope scope,
                         java.io.BufferedReader in,
                         java.io.PrintWriter out,
                         java.io.PrintWriter err)
Run the shell read-eval-print loop.

Parameters:
scope - the scope evaluate in
in - the input stream reader
out - the output stream writer
err - the error stream writer