com.atlassian.tunnel.tunnel.server
Class TunnelServer

java.lang.Object
  extended by com.atlassian.tunnel.tunnel.server.TunnelServer
All Implemented Interfaces:
Closeable, Runnable

public class TunnelServer
extends Object
implements Runnable, Closeable

Author:
Forked by Atlassian

Constructor Summary
TunnelServer(int port, ServerSocketFactory ssocketFactory, TunnelListener tunnelListener)
           
 
Method Summary
 void close()
           
 void run()
           
 void setMaximumExternalConnectionUptimeMs(int maximumExternalConnectionUptimeMs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TunnelServer

public TunnelServer(int port,
                    ServerSocketFactory ssocketFactory,
                    TunnelListener tunnelListener)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

setMaximumExternalConnectionUptimeMs

public void setMaximumExternalConnectionUptimeMs(int maximumExternalConnectionUptimeMs)

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2015 Atlassian. All rights reserved.