예제 #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);
        }
예제 #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;
 }
예제 #3
0
 public void RecieveThreadDeathFromTunnel(Tunnel tunnel)
 {
     throw new NotImplementedException();
 }
예제 #4
0
 public void TunnelCreationSucceed(Tunnel tunnel)
 {
     _linkedTunnels.Add(tunnel);
     TunnelCreationSuccess();
 }