예제 #1
0
 public virtual void Stopped()
 {
     Log.D(Log.TagChangeTracker, "%s: Change tracker in stopped", this);
     if (client != null)
     {
         client.ChangeTrackerStopped(this);
     }
     client = null;
 }
예제 #2
0
 public ChangeTracker(Uri databaseURL, ChangeTracker.ChangeTrackerMode mode, object
                      lastSequenceID, ChangeTrackerClient client)
 {
     this.databaseURL    = databaseURL;
     this.mode           = mode;
     this.lastSequenceID = lastSequenceID;
     this.client         = client;
     this.requestHeaders = new Dictionary <string, object>();
 }
예제 #3
0
		public ChangeTracker(Uri databaseURL, ChangeTracker.ChangeTrackerMode mode, bool 
			includeConflicts, object lastSequenceID, ChangeTrackerClient client)
		{
			this.databaseURL = databaseURL;
			this.mode = mode;
			this.includeConflicts = includeConflicts;
			this.lastSequenceID = lastSequenceID;
			this.client = client;
			this.requestHeaders = new Dictionary<string, object>();
		}
예제 #4
0
 public virtual void Stopped()
 {
     Log.D(Database.Tag, "change tracker in stopped");
     if (client != null)
     {
         Log.D(Database.Tag, "posting stopped");
         client.ChangeTrackerStopped(this);
     }
     client = null;
     Log.D(Database.Tag, "change tracker client should be null now");
 }
예제 #5
0
 public ChangeTracker(Uri databaseURL, ChangeTracker.ChangeTrackerMode mode, bool
                      includeConflicts, object lastSequenceID, ChangeTrackerClient client)
 {
     // does not work, do not use it.
     this.databaseURL      = databaseURL;
     this.mode             = mode;
     this.includeConflicts = includeConflicts;
     this.lastSequenceID   = lastSequenceID;
     this.client           = client;
     this.requestHeaders   = new Dictionary <string, object>();
     this.heartBeatSeconds = 300;
     this.limit            = 50;
 }
예제 #6
0
		public virtual void Stopped()
		{
			Log.D(Database.Tag, this + ": Change tracker in stopped");
			if (client != null)
			{
				Log.D(Database.Tag, this + ": posting stopped");
				client.ChangeTrackerStopped(this);
			}
			client = null;
			Log.D(Database.Tag, this + ": Change tracker client should be null now");
		}
예제 #7
0
		public virtual void SetClient(ChangeTrackerClient client)
		{
			this.client = client;
		}
 public virtual void Stopped()
 {
     Log.D(Log.TagChangeTracker, "%s: Change tracker in stopped", this);
     if (client != null)
     {
         client.ChangeTrackerStopped(this);
     }
     client = null;
 }
 public ChangeTracker(Uri databaseURL, ChangeTracker.ChangeTrackerMode mode, bool 
     includeConflicts, object lastSequenceID, ChangeTrackerClient client)
 {
     // does not work, do not use it.
     this.databaseURL = databaseURL;
     this.mode = mode;
     this.includeConflicts = includeConflicts;
     this.lastSequenceID = lastSequenceID;
     this.client = client;
     this.requestHeaders = new Dictionary<string, object>();
     this.heartBeatSeconds = 300;
     this.limit = 50;
 }
예제 #10
0
 public virtual void SetClient(ChangeTrackerClient client)
 {
     this.client = client;
 }