Exemplo n.º 1
0
 public static void EndService()
 {
     ReportProvider.End();
     foreach (ReportProvider p in ReportProvider.All)
     {
         p.Close();
     }
 }
Exemplo n.º 2
0
 public Client(TcpClient tcpClient, ReportProvider parent)
 {
     this.tcpClient = tcpClient;
     this.parent    = parent;
     socket         = tcpClient.Client;
     thread         = new Thread(new ThreadStart(ThreadMain));
     thread.Start();
 }
Exemplo n.º 3
0
			public Client(TcpClient tcpClient, ReportProvider parent)
			{
				this.tcpClient = tcpClient;
				this.parent = parent;
				socket = tcpClient.Client;
				thread = new Thread(new ThreadStart(ThreadMain));
				thread.Start();
			}