public WorkerProxy(NagCoordinator coordinator, Socket socket) { Worker = new TCPConnection(socket, false, ProcesLine, null); NagCoordinator = coordinator; State = ConnectionState.Negotiating; Negotiate(); }
public Worker(string server, int portNbr, string space, string accessID, int reconnectInterval, bool verbose) { Server = new TCPConnection(server, portNbr, reconnectInterval, 1000, OnDisconnect, verbose); Space = space; AccessID = accessID; Verbose = verbose; }
public GTPCommCGOS(string server, int portNbr, string userName, string password, int gamesToPlay, bool verbose) { Server = new TCPConnection(server, portNbr, 15, 100, null, verbose); UserName = userName; Password = password; Verbose = verbose; SupportTimeLeft = false; GamesToPlay = gamesToPlay; WaitingForGame = false; CGOSServer = CGOSServerVersion.E0; }