Examples of Buddy


Examples of net.solosky.maplefetion.bean.Buddy

   
    //可能部分好友已经获取到了手机号,特别是没有开通飞信的好友手机号码就是已知的
    //为了提高效率,这里先遍历好友,查看是否有好友的手机号码和给定的号码相同
    Iterator<Buddy> it = this.getFetionStore().getBuddyList().iterator();
    while(it.hasNext()){
      Buddy buddy = it.next();
      if(buddy.getMobile()==mobile){  //找到了好友,直接通知监听器
        if(listener!=null){
          listener.fireEevent(new FindBuddySuccessEvent(buddy));
          return;
        }
      }
View Full Code Here

Examples of net.solosky.maplefetion.bean.Buddy

          Iterator it = list.iterator();
         
        while(it.hasNext()) {
            Element e = (Element) it.next();
            String uri = e.getAttributeValue("uri");
            Buddy buddy = store.getBuddyByUri(uri);
            if(buddy!=null) {
              BeanHelper.setValue(buddy, "relation", Relation.BUDDY)//之前是什么状态呢。。。 TODO ..先暂时设置为好友关系
              context.getFetionStore().flushBuddy(buddy);
            }
          }
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.