public Server(int port, Node client,
     IRicartSyncAlgorithmServer ricartSyncAlgorithm, ICentralizedSyncAlgorithmServer centralizedSyncAlgorithm)
 {
     _port = port;
     _client = client;
     _ricartSyncAlgServer = ricartSyncAlgorithm;
     _centralizedSyncAlgServer = centralizedSyncAlgorithm;
 }
Пример #2
0
 public Server(int port, Node client,
               IRicartSyncAlgorithmServer ricartSyncAlgorithm, ICentralizedSyncAlgorithmServer centralizedSyncAlgorithm)
 {
     _port   = port;
     _client = client;
     _ricartSyncAlgServer      = ricartSyncAlgorithm;
     _centralizedSyncAlgServer = centralizedSyncAlgorithm;
 }