code: private void fireRosterPresenceEvent(final Presence presence) {
          synchronized (rosterListenersAndEntriesLock) {
              for (RosterListener listener : rosterListeners) {
                  listener.presenceChanged(presence);
              }
          }
      }
docs: Fires roster presence changed event to roster listeners.
  
  @param presence the presence change.