onbon.bx06.cmd.ofs
Class StartReadDirCmd

java.lang.Object
  extended by onbon.bx06.message.Request
      extended by onbon.bx06.message.ofs.AbstractOfsReq
          extended by onbon.bx06.message.ofs.StartReadDir
              extended by onbon.bx06.cmd.ofs.StartReadDirCmd
All Implemented Interfaces:
Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnDirSize>

public final class StartReadDirCmd
extends onbon.bx06.message.ofs.StartReadDir
implements Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnDirSize>

开始读取文件目录块。
完整操作可利用 BxFileReader 进行。

 BxFileReader reader = controller.createReader();
 reader.browse();
 

Author:
ONBON
See Also:
BxFileReader

Field Summary
 
Fields inherited from class onbon.bx06.message.ofs.StartReadDir
ALL_TYPE, dirSize, fileType, ID
 
Fields inherited from class onbon.bx06.message.Request
cmd, cmdGroup, rtnReq
 
Constructor Summary
StartReadDirCmd()
          建构子。
StartReadDirCmd(byte fileType, int dirSize)
          建构子。
 
Method Summary
 Bx6GResponseCmd<onbon.bx06.message.ofs.ReturnDirSize> accept(Bx6GController controller)
          利用指定控制器进行请求发送与回应处理。
 
Methods inherited from class onbon.bx06.message.ofs.StartReadDir
getDataLen, getDirSize, getFileType, setDirSize, setFileType
 
Methods inherited from class onbon.bx06.message.Request
getCmd, getCmdGroup, getRtnReq, setCmd, setCmdGroup, setRtnReq
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartReadDirCmd

public StartReadDirCmd()
建构子。


StartReadDirCmd

public StartReadDirCmd(byte fileType,
                       int dirSize)
建构子。

Parameters:
fileType - 文件类型。
dirSize - 文件目录块大小。
Method Detail

accept

public Bx6GResponseCmd<onbon.bx06.message.ofs.ReturnDirSize> accept(Bx6GController controller)
Description copied from interface: Bx6GRequestCmd
利用指定控制器进行请求发送与回应处理。

Specified by:
accept in interface Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnDirSize>
Parameters:
controller - 控制器。
Returns:
回应结果。


Copyright © 2020 onbon. All rights reserved.