Examples of PairChatChangedEvent


Examples of com.calclab.emite.im.events.PairChatChangedEvent

  public final PairChat openChat(final XmppURI uri) {
    PairChat chat = getChat(uri);
    if (chat == null) {
      chat = new PairChat(this, eventBus, session, uri, session.getCurrentUserURI());
      chats.add(chat);
      eventBus.fireEventFromSource(new PairChatChangedEvent(ChangeType.created, chat), this);
    }
   
    chat.open();
    return chat;
  }
View Full Code Here

Examples of com.calclab.emite.im.events.PairChatChangedEvent

  }
 
  protected final void open() {
    if (!isReady() && session.isReady()) {
      status = ChatStatus.ready;
      eventBus.fireEventFromSource(new PairChatChangedEvent(ChangeType.opened, this), chatManager);
    }
  }
View Full Code Here

Examples of com.calclab.emite.im.events.PairChatChangedEvent

   */
  public final void close() {
    if (isReady()) {
      status = ChatStatus.locked;
      chatManager.closeChat(this);
      eventBus.fireEventFromSource(new PairChatChangedEvent(ChangeType.closed, this), chatManager);
    }
  }
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.