Example #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;
 }
Example #2
0
 public UDPRequester(EngineFactory engineFactory)
 {
     this.engineFactory = engineFactory;
 }