示例#1
0
 public void Connect(Floe.Configuration.ServerElement server)
 {
     this.Session.AutoReconnect = false;
     this.Perform = server.OnConnect;
     this.Connect(server.Hostname, server.Port, server.IsSecure, server.AutoReconnect, server.Password, encoding:server.Encoding);
 }
示例#2
0
 public void Connect(Floe.Configuration.ServerElement server)
 {
     this.Session.AutoReconnect = false;
     this.Perform = server.OnConnect;
     this.Connect(server.Hostname, server.Port, server.AutoReconnect);
 }
示例#3
0
		private void dcc_Error(object sender, Floe.Net.ErrorEventArgs e)
		{
			this.Status = FileStatus.Cancelled;
			this.StatusText = "Error: " + e.Exception.Message;
			if (_pollTimer != null)
			{
				_pollTimer.Dispose();
			}
			this.DeletePortForwarding();
			App.DoEvent("dccError");
		}