Package org.jivesoftware.smack.Roster

Examples of org.jivesoftware.smack.Roster.SubscriptionMode


  /**
   * Sets the chosen subscription mode on our connection.
   */
  private void setupSubscriptionMode() {
    this.roster = this.connection.getRoster();
    SubscriptionMode mode = SubscriptionMode.valueOf(this.desc.getSubscriptionMode());
    switch (mode) {
      case accept_all : LOGGER.info("Accepting all subscription requests");
        break;
      case reject_all : LOGGER.info("Rejecting all subscription requests");
        break;
View Full Code Here

TOP

Related Classes of org.jivesoftware.smack.Roster.SubscriptionMode

Copyright © 2018 www.massapicom. 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.