Exemplo n.º 1
0
        private void StreamUpdate(RawClientRequest clientRequest)
        {
            //if (clientRequest.Message.PayloadType == MessageTypes.ClientLoginRequest)
            //{
            //    //var login = _databaseHelpers.PerformLoginCheck(clientRequest.;

            //    //Task.WhenAny(login, Task.Delay(_sessionManagerConfig.LoginTimeout));
            //}
        }
Exemplo n.º 2
0
        public ICommMessage Deserialize(RawClientRequest request)
        {
            var rawMessage = _serializer.DeserializeMessageContainer(request.RawRequest);

            return(_serializer.DeserializePayload(rawMessage));
        }