com.atlassian.bamboo.plugins.ssh
Class SshProxyCommand

java.lang.Object
  extended by com.atlassian.bamboo.plugins.ssh.SshProxyCommand
All Implemented Interfaces:
org.apache.sshd.server.Command

public class SshProxyCommand
extends Object
implements org.apache.sshd.server.Command


Constructor Summary
SshProxyCommand(org.apache.sshd.SshClient client, ProxyConnectionDataProvider proxyConnectionDataProvider, String command)
           
 
Method Summary
 void destroy()
           
 boolean isChannelClosed()
           
 void setErrorStream(OutputStream err)
           
 void setExitCallback(org.apache.sshd.server.ExitCallback callback)
           
 void setInputStream(InputStream in)
           
 void setOutputStream(OutputStream out)
           
 void start(org.apache.sshd.server.Environment env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SshProxyCommand

public SshProxyCommand(org.apache.sshd.SshClient client,
                       ProxyConnectionDataProvider proxyConnectionDataProvider,
                       String command)
Method Detail

setInputStream

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

setOutputStream

public void setOutputStream(OutputStream out)
Specified by:
setOutputStream in interface org.apache.sshd.server.Command

setErrorStream

public void setErrorStream(OutputStream err)
Specified by:
setErrorStream in interface org.apache.sshd.server.Command

setExitCallback

public void setExitCallback(org.apache.sshd.server.ExitCallback callback)
Specified by:
setExitCallback in interface org.apache.sshd.server.Command

isChannelClosed

public boolean isChannelClosed()

start

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

destroy

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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.