org.ow2.jasmine.vmm.agent.driver.util
Class RemoteExec.SSHExec

java.lang.Object
  extended by org.ow2.jasmine.vmm.agent.driver.util.RemoteExec.SSHExec
Enclosing class:
RemoteExec

public static class RemoteExec.SSHExec
extends java.lang.Object


Constructor Summary
RemoteExec.SSHExec(java.lang.String host, java.lang.String user, RemoteExec.SshAuthInfo authInfo, java.lang.String command)
           
 
Method Summary
 void connect(RemoteExec.SSHExecCallback outCallback, RemoteExec.SSHExecCallback errCallback)
           
 void disconnect()
           
 int getExitCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteExec.SSHExec

public RemoteExec.SSHExec(java.lang.String host,
                          java.lang.String user,
                          RemoteExec.SshAuthInfo authInfo,
                          java.lang.String command)
Method Detail

connect

public void connect(RemoteExec.SSHExecCallback outCallback,
                    RemoteExec.SSHExecCallback errCallback)
             throws RemoteExec.SshException
Throws:
RemoteExec.SshException

disconnect

public void disconnect()

getExitCode

public int getExitCode()


Copyright © 2010 OW2 Consortium. All Rights Reserved.