/// <inheritdoc/> public virtual void Visit(SetSessionTypeMessage message) { }
void IMessageVisitor.Visit(SetSessionTypeMessage message) { }
/// <inheritdoc/> public override void Visit(SetSessionTypeMessage message) { Model.ChangeSessionType(message.SessionType); }
/// <summary> /// Sets the current reader session type and creates a new decrypter for the session /// identifier specified by the message. /// </summary> /// <param name="message">The message.</param> public override void Visit(SetSessionTypeMessage message) { _reader.SessionType = message.SessionType; _reader.Decrypter = _reader.DecrypterFactory.Create(message.SessionId); }
/// <inheritdoc/> public override void Visit(SetSessionTypeMessage message) { Translator.ChangeSessionType(message.SessionType); }