Esempio n. 1
0
void ConferenceRoomParticipant::updateStatus(ConferenceRoomParticipant::ParticipantStatus 
					     new_status, 
					     const string& reason,
					     struct timeval& now) {
  status = new_status;
  last_reason = reason;
  updateAccess(now);
}
Esempio n. 2
0
void OnlineSession::updateWithInsecureAppend(string filename, byte*& file, double& diskTime){
	this->filename = filename;
	fileID fid(filename);
	this->fid = fid;

	byte lowerFid[LOWERFID_SIZE];
	this->fid.getLowerID(lowerFid);

	PRSubset prSubset(SIZE_MIN, filename);
	this->prSubset = prSubset;

	updateAccess(filename, diskTime);
}