JML

net.sf.jqql.beans
Class QQFriend

java.lang.Object
  extended by net.sf.jqql.beans.QQFriend

public class QQFriend
extends Object

friend's info 好友的信息

Author:
luma
See Also:
GetFriendListReplyPacket

Field Summary
 byte age
           
 byte gender
           
 char head
           
 String nick
           
 int qqNum
           
 int userFlag
           
 
Constructor Summary
QQFriend()
           
 
Method Summary
 boolean hasCam()
           
 boolean isBind()
          binding to mobile or not 是否绑定手机
 boolean isGG()
           
 boolean isMember()
           
 boolean isMobile()
           
 boolean isTM()
           
 void readBean(ByteBuffer buf)
          given an input stream, parse QQFriend.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

qqNum

public int qqNum

head

public char head

age

public byte age

gender

public byte gender

nick

public String nick

userFlag

public int userFlag
Constructor Detail

QQFriend

public QQFriend()
Method Detail

isMember

public boolean isMember()
Returns:
true if friend is member, or else false.

isBind

public boolean isBind()
binding to mobile or not 是否绑定手机

Returns:

isMobile

public boolean isMobile()
Returns:
true to indicate mobile QQ true表示是移动QQ

hasCam

public boolean hasCam()
Returns:
true to indicate user has a camera. true表示用户有摄像头

isTM

public boolean isTM()
Returns:
true to indicate user login by TM. true表示用户使用TM登录

isGG

public boolean isGG()
Returns:
true if he's male.

readBean

public void readBean(ByteBuffer buf)
given an input stream, parse QQFriend. 给定一个输入流,解析QQFriend结构

Parameters:
buf -

JML