Package com.google.appengine.api.xmpp

Examples of com.google.appengine.api.xmpp.XMPPService.sendInvitation()


   * @param jid
   */
  public static final void invite(JID jid){
    XMPPService xmpp = XMPPServiceFactory.getXMPPService();
   
    xmpp.sendInvitation(jid, new JID("talkfeed@appspot.com"));
  }
 
  public static final Presence getXmppPresence(JID jid) {
    XMPPService xmpp = XMPPServiceFactory.getXMPPService();
   
View Full Code Here


            } else {
                adminMessage = "Message not sent to " + jidStr + ": internal service error.";
            }
           
        } else if (jid != null && command.equals("invite")) {
            xmpp.sendInvitation(jid);
            adminMessage = "Chat message sent to JID " + jidStr + ".";

        } else if (jid != null && command.equals("probe")) {
            xmpp.sendPresence(jid, PresenceType.PROBE, null, null);
            adminMessage = "A presence probe has been sent to JID " + jidStr + ".";
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.