Exemplo n.º 1
0
        public virtual bool ReceivedChange(IDictionary <string, object> change)
        {
            object seq = change["seq"];

            if (seq == null)
            {
                return(false);
            }
            //pass the change to the client on the thread that created this change tracker
            if (client != null)
            {
                client.ChangeTrackerReceivedChange(change);
            }
            lastSequenceID = seq;
            return(true);
        }
Exemplo n.º 2
0
        public bool ReceivedChange(IDictionary <string, object> change)
        {
            var seq = change.Get("seq");

            if (seq == null)
            {
                return(false);
            }

            //pass the change to the client on the thread that created this change tracker
            if (client != null)
            {
                Log.D(Tag, "changed tracker posting change");
                client.ChangeTrackerReceivedChange(change);
            }
            lastSequenceID = seq;
            return(true);
        }