onbon.bx06.cmd.ofs
Class ReadFileBlockCmd

java.lang.Object
  extended by onbon.bx06.message.Request
      extended by onbon.bx06.message.ofs.AbstractOfsReq
          extended by onbon.bx06.message.ofs.ReadFileBlock
              extended by onbon.bx06.cmd.ofs.ReadFileBlockCmd
All Implemented Interfaces:
Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnFileBlock>

public final class ReadFileBlockCmd
extends onbon.bx06.message.ofs.ReadFileBlock
implements Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnFileBlock>

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

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

Author:
ONBON
See Also:
BxFileReader

Field Summary
 
Fields inherited from class onbon.bx06.message.ofs.ReadFileBlock
blockOffset, fileName, ID
 
Fields inherited from class onbon.bx06.message.Request
cmd, cmdGroup, rtnReq
 
Constructor Summary
ReadFileBlockCmd()
           
ReadFileBlockCmd(boolean ofs)
           
 
Method Summary
 Bx6GResponseCmd<onbon.bx06.message.ofs.ReturnFileBlock> accept(Bx6GController controller)
          利用指定控制器进行请求发送与回应处理。
 
Methods inherited from class onbon.bx06.message.ofs.ReadFileBlock
getBlockOffset, getDataLen, getFileName, setBlockOffset, setFileName
 
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

ReadFileBlockCmd

public ReadFileBlockCmd()

ReadFileBlockCmd

public ReadFileBlockCmd(boolean ofs)
Method Detail

accept

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

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


Copyright © 2020 onbon. All rights reserved.