org.crsh.shell.impl.remoting
Class ClientAutomaton

java.lang.Object
  extended by org.crsh.shell.impl.remoting.ClientAutomaton
All Implemented Interfaces:
Runnable

public class ClientAutomaton
extends Object
implements Runnable

Author:
Julien Viet

Field Summary
(package private)  ClientProcessContext current
          .
(package private)  ObjectInputStream in
          .
(package private)  CloseableList listeners
          .
(package private)  ObjectOutputStream out
          .
(package private)  Shell shell
          .
(package private)  Integer width
          .
 
Constructor Summary
ClientAutomaton(InputStream in, OutputStream out, Shell shell)
           
ClientAutomaton(ObjectOutputStream out, ObjectInputStream in, Shell shell)
           
 
Method Summary
 ClientAutomaton addCloseListener(Closeable closeable)
           
(package private)  void close()
           
 int getWidth()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shell

final Shell shell
.


out

final ObjectOutputStream out
.


in

final ObjectInputStream in
.


current

ClientProcessContext current
.


listeners

final CloseableList listeners
.


width

Integer width
.

Constructor Detail

ClientAutomaton

public ClientAutomaton(ObjectOutputStream out,
                       ObjectInputStream in,
                       Shell shell)

ClientAutomaton

public ClientAutomaton(InputStream in,
                       OutputStream out,
                       Shell shell)
                throws IOException
Throws:
IOException
Method Detail

addCloseListener

public ClientAutomaton addCloseListener(Closeable closeable)

run

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

close

void close()

getWidth

public int getWidth()


Copyright © 2012 eXo Platform SAS. All Rights Reserved.