Exemple #1
0
 public void Prepare(HashFileType type)
 {
     Save.Type = type;
     ServerId  = type == HashFileType.Collector
         ? new WriterDescription(Save.Host, Save.PortForCollector)
         : new WriterDescription(Save.Host, Save.PortForDistributor);
 }
Exemple #2
0
 public void SetServer(WriterDescription server)
 {
     ServerId = server;
 }