org.csource.fastdfs
接口 DownloadCallback

所有已知实现类:
DownloadStream

public interface DownloadCallback

Download file callback interface

版本:
Version 1.4
作者:
Happy Fish / YuQing

方法摘要
 int recv(long file_size, byte[] data, int bytes)
          recv file content callback function, may be called more than once when the file downloaded
 

方法详细信息

recv

int recv(long file_size,
         byte[] data,
         int bytes)
recv file content callback function, may be called more than once when the file downloaded

参数:
file_size - file size
data - data buff
bytes - data bytes
返回:
0 success, return none zero(errno) if fail


Copyright © 2017. All rights reserved.