org.crsh.shell.impl.remoting
Class RemoteServer

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

public class RemoteServer
extends AbstractSocketServer


Field Summary
private  ServerAutomaton automaton
          .
 
Constructor Summary
RemoteServer(int bindingPort)
           
 
Method Summary
 Shell getShell()
           
protected  void handle(InputStream in, OutputStream out)
           
 
Methods inherited from class org.crsh.util.AbstractSocketServer
accept, bind, close, getBindingPort, getPort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

automaton

private ServerAutomaton automaton
.

Constructor Detail

RemoteServer

public RemoteServer(int bindingPort)
Method Detail

handle

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

getShell

public Shell getShell()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.