net.sf.jqql.beans
Class QQUser
java.lang.Object
net.sf.jqql.beans.QQUser
public class QQUser
- extends Object
wrap QQ user info
å°è£…QQ用户的信æ¯
- Author:
- luma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QQUser
public QQUser(int qqNum,
String pwd)
- Parameters:
qq
- QQ numberpwd
- passwordqq
- QQå·pwd
- 密ç
QQUser
public QQUser(int qqNum,
byte[] md5pwd)
- Parameters:
qq
- QQ numbermd5pwd
- Double MD5 processed password byte arrayqq
- QQå·md5pwd
- ç»è¿‡Double MD5的密ç å—节数组
getQQ
public int getQQ()
- Returns:
- Returns the qq.
setQQ
public void setQQ(int qqNum)
- Parameters:
qq
- The qq to set.
getSessionKey
public byte[] getSessionKey()
- Returns:
- Returns the sessionKey.
setSessionKey
public void setSessionKey(byte[] sessionKey)
- Parameters:
sessionKey
- The sessionKey to set.
setPassword
public void setPassword(String pwd)
- set user's password, never store in plain text, use Double MD5 to encode.
- Parameters:
pwd
- password in plain text.
设置用户的密ç ,ä¸ä¼šä¿å˜æ˜Žæ–‡å½¢å¼çš„密ç ,立刻用Double MD5ç®—æ³•åŠ å¯†pwd
- 明文形å¼çš„密ç
getPasswordKey
public byte[] getPasswordKey()
- Returns:
- password processed with Double MD5.
getIp
public byte[] getIp()
- Returns:
- Returns the ip.
setIp
public void setIp(byte[] ip)
- Parameters:
ip
- The ip to set.
getLastLoginIp
public byte[] getLastLoginIp()
- Returns:
- Returns the lastLoginIp.
setLastLoginIp
public void setLastLoginIp(byte[] lastLoginIp)
- Parameters:
lastLoginIp
- The lastLoginIp to set.
getPort
public int getPort()
- Returns:
- Returns the port.
setPort
public void setPort(int port)
- Parameters:
port
- The port to set.
getServerIp
public byte[] getServerIp()
- Returns:
- Returns the serverIp.
setServerIp
public void setServerIp(byte[] serverIp)
- Parameters:
serverIp
- The serverIp to set.
getServerPort
public int getServerPort()
- Returns:
- Returns the serverPort.
setServerPort
public void setServerPort(int serverPort)
- Parameters:
serverPort
- The serverPort to set.
getLastLoginTime
public long getLastLoginTime()
- Returns:
- Returns the lastLoginTime.
setLastLoginTime
public void setLastLoginTime(long lastLoginTime)
- Parameters:
lastLoginTime
- The lastLoginTime to set.
getLoginTime
public long getLoginTime()
- Returns:
- Returns the loginTime.
setLoginTime
public void setLoginTime(long loginTime)
- Parameters:
loginTime
- The loginTime to set.
isLoggedIn
public boolean isLoggedIn()
- Returns:
- Returns the loggedIn.
setLoggedIn
public void setLoggedIn(boolean loggedIn)
- Parameters:
loggedIn
- The loggedIn to set.
setLoginMode
public void setLoginMode(byte loginMode)
- Parameters:
loginMode
- The loginMode to set.
getLoginMode
public byte getLoginMode()
- Returns:
- Returns the loginMode.
isUdp
public boolean isUdp()
- Returns:
- Returns the udp.
setUdp
public void setUdp(boolean udp)
- Parameters:
udp
- The udp to set.
getStatus
public byte getStatus()
- Returns:
- Returns the status.
setStatus
public void setStatus(byte status)
- Parameters:
status
- The status to set.
getContactInfo
public ContactInfo getContactInfo()
- Returns:
- Returns the contactInfo.
setContactInfo
public void setContactInfo(ContactInfo contactInfo)
- Parameters:
contactInfo
- The contactInfo to set.
getFileSessionKey
public byte[] getFileSessionKey()
- Returns:
- Returns the fileKey.
setFileSessionKey
public void setFileSessionKey(byte[] fileKey)
- Parameters:
fileKey
- The fileKey to set.
getFileAgentKey
public byte[] getFileAgentKey()
- Returns:
- Returns the fileAgentKey.
setFileAgentKey
public void setFileAgentKey(byte[] fileAgentKey)
- Parameters:
fileAgentKey
- The fileAgentKey to set.
getUnknown03Key
public byte[] getUnknown03Key()
- Returns:
- Returns the unknownKey.
setUnknown03Key
public void setUnknown03Key(byte[] unknownKey)
- Parameters:
unknownKey
- The unknownKey to set.
getFileAgentToken
public byte[] getFileAgentToken()
- Returns:
- Returns the fileAgentToken.
setFileAgentToken
public void setFileAgentToken(byte[] fileAgentToken)
- Parameters:
fileAgentToken
- The fileAgentToken to set.
getUnknown03Token
public byte[] getUnknown03Token()
- Returns:
- Returns the unknownToken.
setUnknown03Token
public void setUnknown03Token(byte[] unknownToken)
- Parameters:
unknownToken
- The unknownToken to set.
isShowFakeCam
public boolean isShowFakeCam()
- Returns:
- Returns the showFakeCam.
setShowFakeCam
public void setShowFakeCam(boolean showFakeCam)
- Parameters:
showFakeCam
- The showFakeCam to set.
getClientKey
public byte[] getClientKey()
- Returns:
- client key
setClientKey
public void setClientKey(byte[] clientKey)
- Parameters:
clientKey
- client key
getInitKey
public byte[] getInitKey()
- Returns:
- åˆå§‹å¯†é’¥
getLoginToken
public byte[] getLoginToken()
- Returns:
- Returns the loginToken.
setLoginToken
public void setLoginToken(byte[] loginToken)
- Parameters:
loginToken
- The loginToken to set.
getUnknown06Key
public byte[] getUnknown06Key()
- Returns:
- the unknown06Key
setUnknown06Key
public void setUnknown06Key(byte[] unknown06Key)
- Parameters:
unknown06Key
- the unknown06Key to set
getUnknown07Key
public byte[] getUnknown07Key()
- Returns:
- the unknown07Key
setUnknown07Key
public void setUnknown07Key(byte[] unknown07Key)
- Parameters:
unknown07Key
- the unknown07Key to set
getUnknown08Key
public byte[] getUnknown08Key()
- Returns:
- the unknown08Key
setUnknown08Key
public void setUnknown08Key(byte[] unknown08Key)
- Parameters:
unknown08Key
- the unknown08Key to set
getUnknown06Token
public byte[] getUnknown06Token()
- Returns:
- the unknown06Token
setUnknown06Token
public void setUnknown06Token(byte[] unknown06Token)
- Parameters:
unknown06Token
- the unknown06Token to set
getUnknown07Token
public byte[] getUnknown07Token()
- Returns:
- the unknown07Token
setUnknown07Token
public void setUnknown07Token(byte[] unknown07Token)
- Parameters:
unknown07Token
- the unknown07Token to set
getUnknown08Token
public byte[] getUnknown08Token()
- Returns:
- the unknown08Token
setUnknown08Token
public void setUnknown08Token(byte[] unknown08Token)
- Parameters:
unknown08Token
- the unknown08Token to set
getAuthToken
public byte[] getAuthToken()
- Returns:
- the authToken
setAuthToken
public void setAuthToken(byte[] authToken)
- Parameters:
authToken
- the authToken to set