public ServerConnectionManager(Proctor p) { proctor = p; server = new TcpListener(1711); runThread = new Thread(new ThreadStart(Run)); runThread.Start(); }
public ActiveClientsWnd(Proctor p) { InitializeComponent(); proctor = p; proctor.StartPrediction(this); Populate(); }
public UserClient(TcpClient c, Proctor p, ServerConnectionManager par) { client = c; parent = par; proctor = p; networkStream = client.GetStream(); streamReader = new StreamReader(networkStream); streamWriter = new StreamWriter(networkStream); readThread = new Thread(new ThreadStart(ReadLoop)); readThread.Start(); learning = false; userName = parent.UniqueName(); }
public AllUsersWnd(Proctor p) { InitializeComponent(); proctor = p; Populate(); }
public UI() { InitializeComponent(); proctor = new Proctor(); }