Examples of ImPresence


Examples of com.caucho.xmpp.im.ImPresence

    Text statusText = null;

    if (! "".equals(status))
      statusText = new Text(status);

    return new ImPresence(to, from, show, statusText, priority, extras);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                      @Optional String show,
                                      @Optional String status,
                                      @Optional int priority,
                                      @Optional ArrayList<Serializable> extras)
  {
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                                  @Optional
                                                  ArrayList<Serializable>
                                                  extras)
  {
    // XXX: needs to be ImPresenceUnavailable
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                                @Optional int priority,
                                                @Optional
                                                ArrayList<Serializable> extras)
  {
    // XXX: presenceSubscribe
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                                 @Optional int priority,
                                                 @Optional
                                                 ArrayList<Serializable> extras)
  {
    // presenceSubscribed
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                                  @Optional
                                                  ArrayList<Serializable>
                                                  extras)
  {
    // XXX: presenceUnsubscribe
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                                   @Optional
                                                   ArrayList<Serializable>
                                                   extras)
  {
    // presenceUnsubscribe
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

                                            @Optional int priority,
                                            @Optional
                                            ArrayList<Serializable> extras)
  {
    // presenceProbe
    ImPresence presence =
      createPresence(env, to, from, show, status, priority, extras);

    bam_send_message(env, to, presence);
  }
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

    if (target == null)
      target = _uid;

    // XXX: need different types
    ImPresence presence = new ImPresence(to, from,
                                         show, status, priority,
                                         extraList);

    if (_handler != null) {
      /*
 
View Full Code Here

Examples of com.caucho.xmpp.im.ImPresence

      synchronized (out) {
        out.writeStartElement("presence");
        out.writeDefaultNamespace(JABBERC_NS);

        ImPresence imPresence = null;
        Text status = null;

        if (value instanceof ImPresence) {
          imPresence = (ImPresence) value;

          if (to == null)
            to = imPresence.getTo();

          if (from == null)
            from = imPresence.getFrom();

          status = imPresence.getStatus();
        }

        if (to != null)
          out.writeAttribute("to", to);
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.