/** * Start listening for incoming connections and forward to remote host as a channel. * * @throws IOException */ public void listen() throws IOException { listen(Thread.currentThread()); }
@Override public void run() { try { forwarder.listen(); } catch (IOException ignore) { } } }, "SSH port forwarder thread from local port " + localPort + " to " + actualItestHost.getHostName() + ":" + remotePort);
@Override public void run() { try { forwarder.listen(); } catch (IOException ignore) { } } }, "SSH port forwarder thread from local port " + localPort + " to " + remoteHostName + ":" + remotePort);
/** * Start listening for incoming connections and forward to remote host as a channel. * * @throws IOException */ public void listen() throws IOException { listen(Thread.currentThread()); }
try { latch.countDown(); forwarder.listen(); } catch (IOException ignore) {/* OK. */}