JML

net.sf.jqql.packets.out
Class ClusterGetCardBatchPacket

java.lang.Object
  extended by net.sf.jqql.packets.Packet
      extended by net.sf.jqql.packets.OutPacket
          extended by net.sf.jqql.packets.BasicOutPacket
              extended by net.sf.jqql.packets.out.ClusterCommandPacket
                  extended by net.sf.jqql.packets.out.ClusterGetCardBatchPacket

public class ClusterGetCardBatchPacket
extends ClusterCommandPacket

get real name of cluster card in bacth
 1. head
 2. command, 1byte, 0x0F
 3. cluster internal ID, 4 byte
 4. unknown 4 byte, all 0
 5. inital record position, 4 byte, begin from 0,  1 stands for getting from the second record.
 6. tail
 批量得到群名片中的真实姓名
 1. 头部
 2. 命令,1字节,0x0F
 3. 群内部ID,4字节
 4. 未知的4字节,全0
 5. 起始记录位置,4字节,从0开始,为1表示从第二条记录开始得到
 6. 尾部
 

Author:
luma

Field Summary
 
Fields inherited from class net.sf.jqql.packets.out.ClusterCommandPacket
BOLD, clusterId, ITALIC, NONE, subCommand, UNDERLINE
 
Fields inherited from class net.sf.jqql.packets.OutPacket
ack, key, resendCountDown, sendCount, seq, timeout
 
Fields inherited from class net.sf.jqql.packets.Packet
bodyBuf, bodyDecrypted, command, crypter, ds, duplicated, header, log, sequence, source, user
 
Constructor Summary
ClusterGetCardBatchPacket(ByteBuffer buf, int length, QQUser user)
           
ClusterGetCardBatchPacket(QQUser user)
           
 
Method Summary
 String getPacketName()
           
 int getStart()
           
protected  void putBody(ByteBuffer buf)
          initialize packet body 初始化包体
 void setStart(int start)
           
 
Methods inherited from class net.sf.jqql.packets.out.ClusterCommandPacket
getClusterId, getSubCommand, parseBody, setClusterId, setSubCommand
 
Methods inherited from class net.sf.jqql.packets.BasicOutPacket
decryptBody, encryptBody, getBodyBytes, getCryptographStart, getFamily, getHeadLength, getLength, getTailLength, parseHeader, parseTail, postFill, putHead, putTail, toString, validateHeader
 
Methods inherited from class net.sf.jqql.packets.OutPacket
dump, fill, getKey, getNextSeq, getSendCount, getTimeout, needAck, needResend, setKey, setSendCount, setTimeout
 
Methods inherited from class net.sf.jqql.packets.Packet
equals, getCommand, getHeader, getSequence, getSource, hash, hashCode, isDuplicated, setDuplicated, setHeader, setSequence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterGetCardBatchPacket

public ClusterGetCardBatchPacket(ByteBuffer buf,
                                 int length,
                                 QQUser user)
                          throws PacketParseException
Throws:
PacketParseException

ClusterGetCardBatchPacket

public ClusterGetCardBatchPacket(QQUser user)
Method Detail

getPacketName

public String getPacketName()
Overrides:
getPacketName in class ClusterCommandPacket
Returns:
descriptive name of packet 包的描述性名称

putBody

protected void putBody(ByteBuffer buf)
Description copied from class: Packet
initialize packet body 初始化包体

Overrides:
putBody in class ClusterCommandPacket
Parameters:
buf - ByteBuffer

getStart

public int getStart()
Returns:
Returns the start.

setStart

public void setStart(int start)
Parameters:
start - The start to set.

JML