com.atlassian.bamboo.plugins.ssh
Class SshProxy

java.lang.Object
  extended by com.atlassian.bamboo.plugins.ssh.SshProxy
All Implemented Interfaces:
ProxyConnectionDataProvider

public class SshProxy
extends java.lang.Object
implements ProxyConnectionDataProvider


Field Summary
protected  org.apache.sshd.SshServer sshServer
           
 
Constructor Summary
SshProxy()
           
 
Method Summary
 void add(java.lang.String proxyUserName, ProxyConnectionData data)
           
protected  org.apache.sshd.server.CommandFactory createCommandFactory()
           
 java.lang.Exception getClientInitializationException()
           
 ProxyConnectionData getConnectionData(java.lang.String proxyUserName)
           
 java.lang.String getHost()
           
 int getPort()
           
static SshProxy getRunningInstance()
           
 void remove(java.lang.String proxyUserName)
           
 SshProxy start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sshServer

protected org.apache.sshd.SshServer sshServer
Constructor Detail

SshProxy

public SshProxy()
Method Detail

getRunningInstance

@Nullable
public static SshProxy getRunningInstance()

start

@Nullable
public SshProxy start()

stop

public void stop()

getConnectionData

public ProxyConnectionData getConnectionData(java.lang.String proxyUserName)
Specified by:
getConnectionData in interface ProxyConnectionDataProvider

remove

public void remove(java.lang.String proxyUserName)

add

public void add(java.lang.String proxyUserName,
                ProxyConnectionData data)

createCommandFactory

protected org.apache.sshd.server.CommandFactory createCommandFactory()

getHost

public java.lang.String getHost()

getPort

public int getPort()

getClientInitializationException

public java.lang.Exception getClientInitializationException()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.