Package com.calclab.emite.xep.muc

Examples of com.calclab.emite.xep.muc.RoomChatManagerImpl.openChat()


    userURI = uri("user@domain/res");
    roomURI = uri("room@domain/nick");
    session.setLoggedIn(userURI);
    final RoomChatManagerImpl manager = new RoomChatManagerImpl(eventBus, session, new RoomChatSelectionStrategy());
    final ChatProperties properties = new ChatProperties(roomURI, userURI, null);
    room = (RoomChatImpl) manager.openChat(properties, true);
  }

  @Override
  public RoomChatImpl getChat() {
    return room;
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.