net.sf.jqql.packets.in._05
Class Unknown05InPacket
java.lang.Object
net.sf.jqql.packets.Packet
net.sf.jqql.packets.InPacket
net.sf.jqql.packets._05InPacket
net.sf.jqql.packets.in._05.Unknown05InPacket
public class Unknown05InPacket
- extends _05InPacket
unknown type 05 series packet
未知类型的05系列包
- 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._05InPacket |
decryptBody, encryptBody, getBodyBytes, getFamily, getHeadLength, getLength, getPacketName, getQqNum, getTailLength, parseHeader, parseTail, putBody, putHead, putTail, setQqNum, toString |
Methods inherited from class net.sf.jqql.packets.Packet |
dump, equals, getCommand, getHeader, getSequence, getSource, hash, hashCode, isDuplicated, setDuplicated, setHeader, setSequence |
Unknown05InPacket
public Unknown05InPacket(ByteBuffer buf,
int length,
QQUser user)
throws PacketParseException
- Parameters:
buf
- length
- user
-
- Throws:
PacketParseException
Unknown05InPacket
public Unknown05InPacket(ByteBuffer buf,
QQUser user)
throws PacketParseException
- Parameters:
buf
- user
-
- 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,这个方法åªå¯¹æŸäº›åè®®æ—æœ‰æ„义
parseBody
protected void parseBody(ByteBuffer buf)
throws PacketParseException
- Description copied from class:
Packet
- parse packet body, from begin position of buf
è§£æžåŒ…体,从buf的开头ä½ç½®è§£æžèµ·
- Specified by:
parseBody
in class Packet
- Parameters:
buf
- ByteBuffer
- Throws:
PacketParseException
- if parse error
如果解æžå‡ºé”™