Examples of sendInvitation()


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

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

            } 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

Examples of org.eclipse.ecf.presence.chatroom.IChatRoomInvitationSender.sendInvitation()

    assertNotNull(invitationSender);
    final IChatRoomInfo roomInfo = chat0.getChatRoomInfo(CHAT_ROOM_NAME);
    if (roomInfo == null) return;
    final IChatRoomContainer chatRoomContainer = roomInfo.createChatRoomContainer();
    chatRoomContainer.connect(roomInfo.getRoomID(), null);
    invitationSender.sendInvitation(roomInfo.getRoomID(), getClient(1).getConnectedID(), null, "this is an invitation");
    try {
      synchronized (synchObject) {
        synchObject.wait(WAITTIME);
      }
    } catch (final Exception e) {
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.