Пример #1
0
 @Override
 public void removeMemberRoleListener(ChatRoomMemberRoleListener listener) {
   memberRoleListeners.remove(listener);
 }
Пример #2
0
 @Override
 public void addMemberRoleListener(ChatRoomMemberRoleListener listener) {
   memberRoleListeners.add(listener);
 }
Пример #3
0
 @Override
 public void removelocalUserRoleListener(ChatRoomLocalUserRoleListener listener) {
   localUserRoleListeners.remove(listener);
 }
Пример #4
0
 @Override
 public void addLocalUserRoleListener(ChatRoomLocalUserRoleListener listener) {
   localUserRoleListeners.add(listener);
 }
Пример #5
0
 @Override
 public void removeMemberPresenceListener(ChatRoomMemberPresenceListener listener) {
   synchronized (memberListeners) {
     memberListeners.remove(listener);
   }
 }
Пример #6
0
 @Override
 public void addMemberPresenceListener(ChatRoomMemberPresenceListener listener) {
   synchronized (memberListeners) {
     memberListeners.add(listener);
   }
 }