Package com.calclab.emite.xep.muc.client

Examples of com.calclab.emite.xep.muc.client.RoomInvitation


    // Accept the room invitations we receive
    roomManager.addRoomInvitationReceivedHandler(new RoomInvitationHandler() {
      @Override
      public void onRoomInvitation(final RoomInvitationEvent event) {
        final RoomInvitation invitation = event.getRoomInvitation();
        display.print("Room invitation received: " + invitation.getReason() + " - " + invitation.getInvitor() + " to " + invitation.getRoomURI(),
            Style.important);
        display.print("We accept the invitation", Style.important);
        roomManager.acceptRoomInvitation(invitation);
      }
    });
View Full Code Here

TOP

Related Classes of com.calclab.emite.xep.muc.client.RoomInvitation

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.