JML

net.sf.jqql.packets.in.disk
Class MoveReplyPacket

java.lang.Object
  extended by net.sf.jqql.packets.Packet
      extended by net.sf.jqql.packets.InPacket
          extended by net.sf.jqql.packets.DiskInPacket
              extended by net.sf.jqql.packets.in.disk.MoveReplyPacket

public class MoveReplyPacket
extends DiskInPacket

 move file or dir reply packet
 1. head
 2. last modified time, 4 byte

 移动文件或目录的回复包
 1. 头部
 2. 最后修改时间,4字节
 

Author:
luma

Field Summary
 long modifiedTime
           
 
Fields inherited from class net.sf.jqql.packets.DiskInPacket
replyCode, replyMessage
 
Fields inherited from class net.sf.jqql.packets.Packet
bodyBuf, bodyDecrypted, command, crypter, ds, duplicated, header, log, sequence, source, user
 
Constructor Summary
MoveReplyPacket(ByteBuffer buf, int length, QQUser user)
           
 
Method Summary
 String getPacketName()
           
protected  void parseBody(ByteBuffer buf)
          parse packet body, from begin position of buf 解析包体,从buf的开头位置解析起
 
Methods inherited from class net.sf.jqql.packets.DiskInPacket
decryptBody, encryptBody, equals, getBodyBytes, getCryptographStart, getFamily, getHeadLength, getLength, getTailLength, hashCode, parseHeader, parseTail, putBody, putHead, putTail
 
Methods inherited from class net.sf.jqql.packets.InPacket
validateHeader
 
Methods inherited from class net.sf.jqql.packets.Packet
dump, getCommand, getHeader, getSequence, getSource, hash, isDuplicated, setDuplicated, setHeader, setSequence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modifiedTime

public long modifiedTime
Constructor Detail

MoveReplyPacket

public MoveReplyPacket(ByteBuffer buf,
                       int length,
                       QQUser user)
                throws PacketParseException
Throws:
PacketParseException
Method Detail

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 如果解析出错

JML