org.crsh.shell.impl.remoting
Class RemoteClient

java.lang.Object
  extended by org.crsh.util.AbstractSocketClient
      extended by org.crsh.shell.impl.remoting.RemoteClient
All Implemented Interfaces:
Closeable

public class RemoteClient
extends AbstractSocketClient


Field Summary
private  ClientAutomaton automaton
          .
private  Shell shell
          .
 
Constructor Summary
RemoteClient(int port, Shell shell)
           
 
Method Summary
 Runnable getRunnable()
           
protected  void handle(InputStream in, OutputStream out)
           
 
Methods inherited from class org.crsh.util.AbstractSocketClient
close, connect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

automaton

private ClientAutomaton automaton
.


shell

private final Shell shell
.

Constructor Detail

RemoteClient

public RemoteClient(int port,
                    Shell shell)
Method Detail

handle

protected void handle(InputStream in,
                      OutputStream out)
               throws IOException
Specified by:
handle in class AbstractSocketClient
Throws:
IOException

getRunnable

public Runnable getRunnable()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.