com.atlassian.bamboo.agent.elastic.tunnel
Interface ElasticAgentTunnelManager

All Known Implementing Classes:
ElasticAgentTunnelManagerImpl

public interface ElasticAgentTunnelManager


Method Summary
 java.util.Collection<com.atlassian.tunnel.tunnel.client.Tunnel> startBambooTunnels(com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance, int tunnelTimeoutMinutes)
          Starts TCP tunnels to an EC2 instance.
 

Method Detail

startBambooTunnels

@NotNull
java.util.Collection<com.atlassian.tunnel.tunnel.client.Tunnel> startBambooTunnels(@NotNull
                                                                                           com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance,
                                                                                           int tunnelTimeoutMinutes)
                                                                                   throws java.net.URISyntaxException
Starts TCP tunnels to an EC2 instance.

Parameters:
ec2Instance - instance with tunnel server
tunnelTimeoutMinutes - time interval after we can assume that the tunnel cannot be initialised
Returns:
started tunnels
Throws:
java.net.URISyntaxException


Copyright © 2012 Atlassian. All Rights Reserved.