org.apache.karaf.shell.ssh
Class SshAction

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.karaf.shell.ssh.SshAction
All Implemented Interfaces:
Action, BlueprintContainerAware, BundleContextAware

public class SshAction
extends OsgiCommandSupport
implements BlueprintContainerAware

Connect to a SSH server.

Version:
$Rev: 721244 $ $Date: 2008-11-27 18:19:56 +0100 (Thu, 27 Nov 2008) $

Field Summary
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Constructor Summary
SshAction()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
 java.lang.String readLine(java.lang.String msg)
           
 void setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer container)
           
 void setSshClientId(java.lang.String sshClientId)
           
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SshAction

public SshAction()
Method Detail

setBlueprintContainer

public void setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer container)
Specified by:
setBlueprintContainer in interface BlueprintContainerAware

setSshClientId

public void setSshClientId(java.lang.String sshClientId)

doExecute

protected java.lang.Object doExecute()
                              throws Exception
Specified by:
doExecute in class AbstractAction
Throws:
Exception

readLine

public java.lang.String readLine(java.lang.String msg)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.