onbon.bx06.cmd.ofs
Class StartReadFileCmd

java.lang.Object
  extended by onbon.bx06.message.Request
      extended by onbon.bx06.message.ofs.AbstractOfsReq
          extended by onbon.bx06.message.ofs.StartReadFile
              extended by onbon.bx06.cmd.ofs.StartReadFileCmd
All Implemented Interfaces:
Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnFileInfo>

public final class StartReadFileCmd
extends onbon.bx06.message.ofs.StartReadFile
implements Bx6GRequestCmd<onbon.bx06.message.ofs.ReturnFileInfo>

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

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

Author:
ONBON
See Also:
BxFileReader

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

StartReadFileCmd

public StartReadFileCmd()
建构子。


StartReadFileCmd

public StartReadFileCmd(boolean ofs)
建构子。

Parameters:
ofs - 是否为节目类型档案。
Method Detail

accept

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

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


Copyright © 2020 onbon. All rights reserved.