コード例 #1
0
ファイル: WorkerProxy.cs プロジェクト: tgiphil/GoTraxx
 public WorkerProxy(NagCoordinator coordinator, Socket socket)
 {
     Worker = new TCPConnection(socket, false, ProcesLine, null);
     NagCoordinator = coordinator;
     State = ConnectionState.Negotiating;
     Negotiate();
 }
コード例 #2
0
ファイル: Worker.cs プロジェクト: tgiphil/GoTraxx
        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;
        }
コード例 #3
0
ファイル: GTPCommCGOS.cs プロジェクト: tgiphil/GoTraxx
 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;
 }