Package com.sissi.ucenter.relation.impl

Examples of com.sissi.ucenter.relation.impl.DefaultRelation


    this.groups = groups;
  }

  public Relation ourRelation(JID from, JID to) {
    DBObject db = this.config.collection().findOne(this.buildQuery(from.asStringWithBare(), to.asStringWithBare()));
    return db != null ? new MongoRosterRelation(db, Dictionary.FIELD_SLAVE, this.groups, this.plus) : new DefaultRelation(to, RosterSubscription.NONE.toString());
  }
View Full Code Here

TOP

Related Classes of com.sissi.ucenter.relation.impl.DefaultRelation

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.