Examples of OccupantChangedEvent


Examples of com.calclab.emite.xep.muc.events.OccupantChangedEvent

    occupantsByOccupantUri.put(occupant.getOccupantUri(), occupant);
    final XmppURI userUri = occupant.getUserUri();
    if (userUri != null) {
      occupantsByUserUri.put(userUri.getJID(), occupant);
    }
    eventBus.fireEventFromSource(new OccupantChangedEvent(ChangeType.added, occupant), this);
  }
View Full Code Here

Examples of com.calclab.emite.xep.muc.events.OccupantChangedEvent

    if (occupant != null) {
      final XmppURI userUri = occupant.getUserUri();
      if (userUri != null) {
        occupantsByUserUri.remove(userUri.getJID());
      }
      eventBus.fireEventFromSource(new OccupantChangedEvent(ChangeType.removed, occupant), this);
    }
  }
View Full Code Here

Examples of com.calclab.emite.xep.muc.events.OccupantChangedEvent

    } else {
      occupant.setAffiliation(affiliation);
      occupant.setRole(role);
      occupant.setShow(show);
      occupant.setStatusMessage(statusMessage);
      eventBus.fireEventFromSource(new OccupantChangedEvent(ChangeType.modified, occupant), this);
    }
    return occupant;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.