public void HandleRequest(IGuideClient GuideClient, Socket clientSocket, byte[] buffer) { var messageWrapper = MessageWrapper.Load(buffer, _messageReaders); _guideHandlers[messageWrapper.MessageType](GuideClient, messageWrapper); }
public void HandleRequest(IScavengerClient scavengerClient, Socket clientSocket, byte[] buffer) { var messageWrapper = MessageWrapper.Load(buffer, _messageReaders); _scavengerHandlers[messageWrapper.MessageType](scavengerClient, messageWrapper); }