210 |
this.lastpingtime = false; |
this.lastpingtime = false; |
211 |
} |
} |
212 |
|
|
213 |
Meteor.prototype.process = function(id, data, timestamp) { |
Meteor.prototype.process = function(id, data) { |
214 |
if (id > this.lastmsgreceived) { |
if (id > this.lastmsgreceived) { |
215 |
this.callback_process(data); |
this.callback_process(data); |
216 |
if (id != -1) this.lastmsgreceived = id; |
if (id != -1) this.lastmsgreceived = id; |
224 |
this.ping(); |
this.ping(); |
225 |
} |
} |
226 |
this.setstatus(5); |
this.setstatus(5); |
|
if (!isNaN(timestamp)) { |
|
|
Meteor.setServerTime(timestamp); |
|
|
} |
|
227 |
} |
} |
228 |
|
|
229 |
Meteor.prototype.ping = function() { |
Meteor.prototype.ping = function() { |