de.cohesion.bssh.impl
Class ExecuteSSHCommand

java.lang.Object
  extended by de.cohesion.bssh.impl.SSHCommand
      extended by de.cohesion.bssh.impl.ExecuteSSHCommand
All Implemented Interfaces:
Command<Result>

public class ExecuteSSHCommand
extends SSHCommand

Author:
schulzs

Constructor Summary
ExecuteSSHCommand(java.lang.String cmd, Cache<Member,ch.ethz.ssh2.Connection> ccache)
           
 
Method Summary
protected  Result perform(Member m, ch.ethz.ssh2.Connection c)
           
 java.lang.String toString()
           
 
Methods inherited from class de.cohesion.bssh.impl.SSHCommand
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecuteSSHCommand

public ExecuteSSHCommand(java.lang.String cmd,
                         Cache<Member,ch.ethz.ssh2.Connection> ccache)
Method Detail

perform

protected Result perform(Member m,
                         ch.ethz.ssh2.Connection c)
                  throws java.io.IOException
Specified by:
perform in class SSHCommand
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 . All Rights Reserved.