org.csource.fastdfs
接口 UploadCallback

所有已知实现类:
StorageClient.UploadBuff, UploadStream

public interface UploadCallback

upload file callback interface

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

方法摘要
 int send(OutputStream out)
          send file content callback function, be called only once when the file uploaded
 

方法详细信息

send

int send(OutputStream out)
         throws IOException
send file content callback function, be called only once when the file uploaded

参数:
out - output stream for writing file content
返回:
0 success, return none zero(errno) if fail
抛出:
IOException


Copyright © 2017. All rights reserved.