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


Field Summary
(package private)  ClientProcessContext current
          .
(package private)  Integer height
          .
(package private)  ObjectInputStream in
          .
(package private)  long last
          .
(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 getHeight()
           
 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
.


height

Integer height
.


last

long last
.

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()

getHeight

public int getHeight()


Copyright © 2014 eXo Platform SAS. All Rights Reserved.