com.atlassian.tunnel.tunnel.client
Class TunnelServerAddressProvider

java.lang.Object
  extended by com.atlassian.tunnel.tunnel.client.TunnelServerAddressProvider

public abstract class TunnelServerAddressProvider
extends Object


Constructor Summary
TunnelServerAddressProvider()
           
 
Method Summary
static TunnelServerAddressProvider fixedAddressProvider(String tunnelHost, int tunnelPort)
           
abstract  String getTunnelHost()
          The IP address or host name of the tunnel server.
abstract  int getTunnelPort()
          The TCP port number at which the tunnel server is accepting tunnel connections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TunnelServerAddressProvider

public TunnelServerAddressProvider()
Method Detail

getTunnelHost

@NotNull
public abstract String getTunnelHost()

The IP address or host name of the tunnel server.


getTunnelPort

public abstract int getTunnelPort()

The TCP port number at which the tunnel server is accepting tunnel connections.


fixedAddressProvider

public static TunnelServerAddressProvider fixedAddressProvider(@NotNull
                                                               String tunnelHost,
                                                               int tunnelPort)


Copyright © 2015 Atlassian. All rights reserved.