Examples of IQRequestReceivedEvent


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

        eventBus.fireEventFromSource(new PresenceReceivedEvent(new Presence(stanza)), this);
      } else if ("iq".equals(name)) {
        final IQ iq = new IQ(stanza);
        final IQ.Type type = iq.getType();
        if (IQ.Type.get.equals(type) || IQ.Type.set.equals(type)) {
          eventBus.fireEventFromSource(new IQRequestReceivedEvent(iq), this);
        } else if (IQ.Type.result.equals(type) || IQ.Type.error.equals(type)) {
          eventBus.fireEventFromSource(new IQResponseReceivedEvent(iq), this);
        }
      }
    }
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.