Package com.adito.agent.client.tunneling

Examples of com.adito.agent.client.tunneling.LocalTunnelServer


      DefaultTunnel t = new DefaultTunnel(-1,
          TunnelConfiguration.LOCAL_TUNNEL,
          TunnelConfiguration.TCP_TUNNEL, null, 0, linkPort,
          linkHost, false, false, linkHost + ":" + linkPort, launchId);

      LocalTunnelServer listener = getTunnelManager().startLocalTunnel(t);

      // #ifdef DEBUG
      log.info("Tunneled web forward listener started on port "
          + listener.getLocalPort());
      // #endif

      ByteArrayWriter w = new ByteArrayWriter();
      w.writeInt(listener.getLocalPort());
      request.setRequestData(w.toByteArray());
      return true;
    } catch (Exception e) {
      // #ifdef DEBUG
      log.error("Failed to process openURL request", e);
View Full Code Here

TOP

Related Classes of com.adito.agent.client.tunneling.LocalTunnelServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.