Package com.maverick.multiplex.channels

Examples of com.maverick.multiplex.channels.LocalForwardingChannel


    }

    private Channel openChannel(TunnelConfiguration conf) throws IOException {
     
      try {
      LocalForwardingChannel channel = new LocalForwardingChannel(conf.getDestinationHost(), conf.getDestinationPort());     
      vpn.getConnection().openChannel(channel);
      return channel;
    } catch (Exception e) {
      throw new IOException("Failed to open direct-tcpip channel to " + conf.getDestinationHost() + ":" + conf.getDestinationPort());
    }
View Full Code Here


  private Agent agent;

  public LocalForwardingChannelSocket(Agent agent, String host, int port) throws IOException, ChannelOpenException {
    super();
    this.agent = agent;
    channel = new LocalForwardingChannel(host, port);
    agent.getConnection().openChannel(channel);
  }
View Full Code Here

TOP

Related Classes of com.maverick.multiplex.channels.LocalForwardingChannel

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.