org.crsh.ssh.term
Class CRaSHCommand

java.lang.Object
  extended by org.crsh.ssh.term.AbstractCommand
      extended by org.crsh.ssh.term.CRaSHCommand
All Implemented Interfaces:
Runnable, org.apache.sshd.server.Command, org.apache.sshd.server.SessionAware

public class CRaSHCommand
extends AbstractCommand
implements Runnable

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.crsh.ssh.term.AbstractCommand
callback, err, in, out, session
 
Constructor Summary
CRaSHCommand(CRaSHCommandFactory factory)
           
 
Method Summary
 void destroy()
           
 SSHContext getContext()
           
 void run()
           
 void start(org.apache.sshd.server.Environment env)
           
 
Methods inherited from class org.crsh.ssh.term.AbstractCommand
setErrorStream, setExitCallback, setInputStream, setOutputStream, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRaSHCommand

public CRaSHCommand(CRaSHCommandFactory factory)
Method Detail

start

public void start(org.apache.sshd.server.Environment env)
           throws IOException
Specified by:
start in interface org.apache.sshd.server.Command
Throws:
IOException

getContext

public SSHContext getContext()

destroy

public void destroy()
Specified by:
destroy in interface org.apache.sshd.server.Command

run

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.