/// <summary> /// Processes the changed message /// </summary> /// <param name="client"> /// The connection to send replies to the server /// </param> /// <param name="collectionManager"> /// The CollectionManager /// </param> /// <param name="resultHandler"> /// The ResultHandler /// </param> /// <param name="message"> /// The message to process /// </param> /// <returns> /// Task to process the message /// </returns> public override Task HandleMessage( IDdpConnectionSender client, ICollectionManager collectionManager, IResultHandler resultHandler, string message) { var changedMessage = JsonConvert.DeserializeObject<Changed>(message); collectionManager.Changed(changedMessage); return Task.FromResult(true); }