Examples of IQReceivedEvent


Examples of com.calclab.emite.core.events.IQReceivedEvent

    if (name.equals("message")) {
      eventBus.fireEvent(new MessageReceivedEvent(new Message(stanza)));
    } else if (name.equals("presence")) {
      eventBus.fireEvent(new PresenceReceivedEvent(new Presence(stanza)));
    } else if (name.equals("iq")) {
      eventBus.fireEvent(new IQReceivedEvent(new IQ(stanza)));
    } else
      throw new RuntimeException("WHAT IS THIS? (" + name + "): " + stanza.toString());

  }
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.