コード例 #1
0
        public void HandleRequest(IGuideClient GuideClient, Socket clientSocket, byte[] buffer)
        {
            var messageWrapper = MessageWrapper.Load(buffer, _messageReaders);

            _guideHandlers[messageWrapper.MessageType](GuideClient, messageWrapper);
        }
コード例 #2
0
        public void HandleRequest(IScavengerClient scavengerClient, Socket clientSocket, byte[] buffer)
        {
            var messageWrapper = MessageWrapper.Load(buffer, _messageReaders);

            _scavengerHandlers[messageWrapper.MessageType](scavengerClient, messageWrapper);
        }