net.sf.jqql.packets.in.disk
Class DeleteReplyPacket
java.lang.Object
net.sf.jqql.packets.Packet
net.sf.jqql.packets.InPacket
net.sf.jqql.packets.DiskInPacket
net.sf.jqql.packets.in.disk.DeleteReplyPacket
public class DeleteReplyPacket
- extends DiskInPacket
remove reply packet
1 head
2. last modified time, 4 byte
3. network disk capacity, 4 byte
4. network disk available capacity, 4 byte.
Note: the one in AuthenticateReplyPacket means capacity used. I think two team designed them.
删除的回复包
1. 头部
2. 最后修改时间,4字节
3. 网络硬盘总容量,4字节
4. 网络硬盘未用容量,4字节
Note: AuthenticateReplyPacket里面是已用的容量,感觉就想是两波人设计出来的
- 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.DiskInPacket |
decryptBody, encryptBody, equals, getBodyBytes, getCryptographStart, getFamily, getHeadLength, getLength, getTailLength, hashCode, parseHeader, parseTail, putBody, putHead, putTail |
modifiedTime
public long modifiedTime
capacity
public int capacity
unused
public int unused
DeleteReplyPacket
public DeleteReplyPacket(ByteBuffer buf,
int length,
QQUser user)
throws PacketParseException
- Throws:
PacketParseException
getPacketName
public String getPacketName()
- Overrides:
getPacketName
in class Packet
- Returns:
- descriptive name of packet
包的描述性名称
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
如果解析出错