Examples of openChat()


Examples of com.calclab.emite.im.chat.PairChatManagerImpl.openChat()

  @Before
  public void beforeTests() {
    session.setLoggedIn(USER_URI);
    final PairChatManagerImpl manager = new PairChatManagerImpl(eventBus, session, new PairChatSelectionStrategy());
    final ChatProperties properties = new ChatProperties(CHAT_URI, USER_URI, ChatStatus.ready);
    pairChat = manager.openChat(properties, true);
    pairChat.setThread("theThread");
  }

  @Override
  public PairChat getChat() {
View Full Code Here

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.