net.sf.jqql.beans
Class QQFriend
java.lang.Object
net.sf.jqql.beans.QQFriend
public class QQFriend
- extends Object
friend's info
好友的信息
- Author:
- luma
- See Also:
GetFriendListReplyPacket
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
qqNum
public int qqNum
head
public char head
age
public byte age
gender
public byte gender
nick
public String nick
userFlag
public int userFlag
QQFriend
public QQFriend()
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
-