Package org.eclipse.ecf.presence.im

Examples of org.eclipse.ecf.presence.im.ChatMessageEvent


  private void fireMessageEvent(ID fromID, String message) {
    synchronized (messageListeners) {
      for (int i = 0; i < messageListeners.size(); i++) {
        ((IIMMessageListener) messageListeners.get(i))
            .handleMessageEvent(new ChatMessageEvent(fromID,
                new ChatMessage(fromID, message)));
      }
    }
  }
View Full Code Here


  }

  public void fireChatMessageEvent(ID sender, String msg) {
    for (Iterator i = msgListeners.iterator(); i.hasNext();) {
      IIMMessageListener l = (IIMMessageListener) i.next();
      l.handleMessageEvent(new ChatMessageEvent(sender, new ChatMessage(sender, msg)));
    }
  }
View Full Code Here

  private void fireMessageEvent(ID fromID, String message) {
    synchronized (messageListeners) {
      for (int i = 0; i < messageListeners.size(); i++) {
        ((IIMMessageListener) messageListeners.get(i))
            .handleMessageEvent(new ChatMessageEvent(fromID,
                new ChatMessage(fromID, message)));
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.presence.im.ChatMessageEvent

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.