use of org.eclipse.ecf.presence.im.ChatMessageEvent in project ecf by eclipse.
the class IRCAbstractContainer method fireChatMessageEvent.
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)));
}
}
Aggregations