net.sf.jqql.packets.out._05
Class Unknown05OutPacket
java.lang.Object
net.sf.jqql.packets.Packet
net.sf.jqql.packets.OutPacket
net.sf.jqql.packets._05OutPacket
net.sf.jqql.packets.out._05.Unknown05OutPacket
public class Unknown05OutPacket
- extends _05OutPacket
- Author:
- luma
Fields inherited from class net.sf.jqql.packets.Packet |
bodyBuf, bodyDecrypted, command, crypter, ds, duplicated, header, log, sequence, source, user |
Methods inherited from class net.sf.jqql.packets._05OutPacket |
decryptBody, encryptBody, getBodyBytes, getFamily, getHeadLength, getLength, getPacketName, 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, parseBody, setKey, setSendCount, setTimeout |
Methods inherited from class net.sf.jqql.packets.Packet |
equals, getCommand, getHeader, getSequence, getSource, hash, hashCode, isDuplicated, setDuplicated, setHeader, setSequence |
Unknown05OutPacket
public Unknown05OutPacket(char command,
boolean ack,
QQUser user)
- constructor
æž„é€ å‡½æ•°
- Parameters:
command
- command
命令ack
- need reply or not
是å¦éœ€è¦å›žå¤
Unknown05OutPacket
public Unknown05OutPacket(ByteBuffer buf,
int length,
QQUser user)
throws PacketParseException
- Parameters:
buf
- length
-
- Throws:
PacketParseException
getCryptographStart
protected int getCryptographStart()
- Specified by:
getCryptographStart
in class Packet
- Returns:
- start position of cryptograph, relative to the first byte of packet body.
if this packet is unknown packet, return -1, this method only available to some protocol family.
密文的起始ä½ç½®ï¼Œè¿™ä¸ªä½ç½®æ˜¯ç›¸å¯¹äºŽåŒ…体的第一个å—节æ¥è¯´çš„,如果这个包是未知包,
返回-1,这个方法åªå¯¹æŸäº›åè®®æ—æœ‰æ„义
putBody
protected void putBody(ByteBuffer buf)
- Description copied from class:
Packet
- initialize packet body
åˆå§‹åŒ–包体
- Specified by:
putBody
in class Packet
- Parameters:
buf
- ByteBuffer