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

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


    message.setTo(roomUri.getJID());
    final XMLPacket invite = message.getXML().addChild("x", XmppNamespaces.MUC_USER).addChild("invite");
    invite.setAttribute("to", userJid.toString());
    invite.setChildText("reason", reasonText);
   
    eventBus.fireEventFromSource(new BeforeRoomInvitationSentEvent(message, invite), this);
    session.send(message);
    eventBus.fireEventFromSource(new RoomInvitationSentEvent(userJid, reasonText), this);
  }
View Full Code Here

TOP

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

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.