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