Esempio n. 1
0
 public Server(ServerAddress address, EngineFactory engineFactory, LogListener logListener)
 {
     this.requester = new UDPRequester(engineFactory);
     this.dataParser = engineFactory.CreateDataParser();
     this.logListener = logListener;
     Address = address;
     Rcon = new Rcon(Address);
     logListener.OnLogMessageReceived += LogListener_OnLogMessageReceived;
 }
Esempio n. 2
0
 public UDPRequester(EngineFactory engineFactory)
 {
     this.engineFactory = engineFactory;
 }