org.crsh.term
Class BaseTerm

java.lang.Object
  extended by org.crsh.term.BaseTerm
All Implemented Interfaces:
Runnable, Term

public class BaseTerm
extends Object
implements Term, Runnable

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
BaseTerm(TermIO io)
           
BaseTerm(TermIO io, TermProcessor processor)
           
 
Method Summary
 TermAction _read()
           
 void close()
           
 TermAction read()
           
 void run()
           
 void write(String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTerm

public BaseTerm(TermIO io)

BaseTerm

public BaseTerm(TermIO io,
                TermProcessor processor)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

read

public TermAction read()
                throws IOException
Specified by:
read in interface Term
Throws:
IOException

close

public void close()

_read

public TermAction _read()
                 throws IOException
Throws:
IOException

write

public void write(String msg)
           throws IOException
Specified by:
write in interface Term
Throws:
IOException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.