Example #1
0
        public static Tunnel CreateTunnel(string friendlyName, string remoteIp, int remotePort)
        {
            var tunnel = new Tunnel(MessageHandler, friendlyName).Run(remoteIp, remotePort);

            Tunnels.Add(tunnel);
            return(tunnel);
        }
Example #2
0
 public static Tunnel CreateTunnel(string friendlyName, string remoteIp, int remotePort)
 {
     var tunnel = new Tunnel(MessageHandler, friendlyName).Run(remoteIp, remotePort);
     Tunnels.Add(tunnel);
     return tunnel;
 }
 public void RecieveThreadDeathFromTunnel(Tunnel tunnel)
 {
     throw new NotImplementedException();
 }
Example #4
0
 public void TunnelCreationSucceed(Tunnel tunnel)
 {
     _linkedTunnels.Add(tunnel);
     TunnelCreationSuccess();
 }