com.atlassian.bamboo.plugins.hg.sshproxy
Class SshProxy

java.lang.Object
  extended by com.atlassian.bamboo.plugins.hg.sshproxy.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)
           
 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()

getHost

public java.lang.String getHost()

getPort

public int getPort()

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)

getClientInitializationException

public java.lang.Exception getClientInitializationException()


Copyright © 2011 Atlassian. All Rights Reserved.