Ejemplo n.º 1
0
        private void InitNewEvent(EventId e)
        {
            //_logger.Info("Retrieving decryption key for session: " + e.SessionId);

            _decryptor.Key = _authKeyService.GetKey(e.SessionId);

            //_logger.Info("Decryption key retrieved: 0x" + _decryptor.Key.ToString("X"));

            //  It's a new event, so get the new KeyFrame for the event.
            _keyFrameReceived = false;
        }
Ejemplo n.º 2
0
        private void TestEventId( Header h )
        {
            EventId msg = new EventId();
            msg.Deserialise(h, msg.CreatePacketType(h, Input, Input));

            Assert.AreEqual("_09041905", msg.SessionId);
            Assert.AreEqual(EventType.NoEvent, msg.EventType);
        }