mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-17 17:29:00 +00:00
规范maven项目结构并升级版本号(1.27-SNAPSHOT)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Copyright (C) 2008 Happy Fish / YuQing
|
||||
*
|
||||
* FastDFS Java Client may be copied only under the terms of the GNU Lesser
|
||||
* General Public License (LGPL).
|
||||
* Please visit the FastDFS Home Page http://www.csource.org/ for more detail.
|
||||
*/
|
||||
|
||||
package org.csource.fastdfs;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
import java.net.*;
|
||||
import org.csource.common.*;
|
||||
|
||||
/**
|
||||
* Download file callback interface
|
||||
* @author Happy Fish / YuQing
|
||||
* @version Version 1.4
|
||||
*/
|
||||
public interface DownloadCallback
|
||||
{
|
||||
/**
|
||||
* recv file content callback function, may be called more than once when the file downloaded
|
||||
* @param file_size file size
|
||||
* @param data data buff
|
||||
* @param bytes data bytes
|
||||
* @return 0 success, return none zero(errno) if fail
|
||||
*/
|
||||
public int recv(long file_size, byte[] data, int bytes);
|
||||
}
|
||||
Reference in New Issue
Block a user