Package com.calclab.emite.xep.muc.events

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


    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

    } 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

Related Classes of com.calclab.emite.xep.muc.events.OccupantChangedEvent

Copyright © 2018 www.massapicom. 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.