/// <inheritdoc /> /// <remarks> /// Handles the following message types: <see cref="InitialContextMessage">InitialContextMessage</see>. /// </remarks> protected override void ApplicationConnectionReceived(object sender, Lebowski.Net.ReceivedEventArgs e) { if(e.Message is InitialContextMessage) { session.Context.Invoke((Action) delegate { session.Context.Data = ((InitialContextMessage)e.Message).Text; session.SynchronizationStrategy = new DifferentialSynchronizationStrategy(session.SiteId, session.Context, session.SynchronizationConnection); session.ActivateState(new SynchronizationState(session)); } ); } else { base.ApplicationConnectionReceived(sender, e); } }
/// <inheritdoc/> public abstract void Insert(object issuer, Lebowski.TextModel.Operations.InsertOperation operation);
/// <inheritdoc/> public abstract void Delete(object issuer, Lebowski.TextModel.Operations.DeleteOperation operation);