Exemplo n.º 1
0
 public WorkerProxy(NagCoordinator coordinator, Socket socket)
 {
     Worker = new TCPConnection(socket, false, ProcesLine, null);
     NagCoordinator = coordinator;
     State = ConnectionState.Negotiating;
     Negotiate();
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 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;
 }