예제 #1
0
 /**
  * Notifies server that profile has been updated.
  */
 void updateProfile()
 {
     SharedDataBuffer serializedProfile = getSerializedProfile();
     if ((serializedProfile.first.get() && serializedProfile.second > 0)
             || context_.getStatus().isProfileResyncNeeded()) {
         transport_->sync();
     }
 }
예제 #2
0
 /**
  * Updates profile. Call this method when you finish to update your profile.
  */
 void updateProfile() {
     if (profileListener_) {
         profileListener_->onProfileUpdated(getSerializedProfile());
     }
 }