Exemple #1
0
 /// <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);
     }
 }
Exemple #2
0
 /// <inheritdoc/>
 public abstract void Insert(object issuer, Lebowski.TextModel.Operations.InsertOperation operation);
Exemple #3
0
 /// <inheritdoc/>
 public abstract void Delete(object issuer, Lebowski.TextModel.Operations.DeleteOperation operation);