org.crsh.ssh.term
Class FailCommand

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

public class FailCommand
extends AbstractCommand


Field Summary
private  String failure
          .
private  Throwable throwable
          .
 
Fields inherited from class org.crsh.ssh.term.AbstractCommand
callback, err, in, out, session
 
Constructor Summary
FailCommand(String failure)
           
FailCommand(String failure, Throwable throwable)
           
 
Method Summary
 void destroy()
           
 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
 

Field Detail

failure

private final String failure
.


throwable

private final Throwable throwable
.

Constructor Detail

FailCommand

public FailCommand(String failure)

FailCommand

public FailCommand(String failure,
                   Throwable throwable)
Method Detail

start

public void start(org.apache.sshd.server.Environment env)
           throws IOException
Throws:
IOException

destroy

public void destroy()


Copyright © 2014 eXo Platform SAS. All Rights Reserved.