public bool processUpdatePtsSeqDate(int pts, int seq, int date) { lock(this) { if(updateSeq(seq)) { this.pts = pts; this.date = date; return true; } else { return false; } } }