Package tv.hd3g.transfertfiles.filters
Class DataExchangeFilterHashExtraction
java.lang.Object
tv.hd3g.transfertfiles.filters.DataExchangeFilterHashExtraction
- All Implemented Interfaces:
DataExchangeFilter
Not reusable
-
Field Summary
Fields inherited from interface tv.hd3g.transfertfiles.filters.DataExchangeFilter
DEFAULT_BUFFER_SIZE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionapplyDataFilter(boolean last, BufferVault dataSources) Map<DigestFilterHashExtraction,byte[]> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tv.hd3g.transfertfiles.filters.DataExchangeFilter
ensureMinDataSourcesDataLength, onCancelTransfert
-
Constructor Details
-
DataExchangeFilterHashExtraction
-
DataExchangeFilterHashExtraction
-
-
Method Details
-
applyDataFilter
- Specified by:
applyDataFilterin interfaceDataExchangeFilter- Parameters:
last- if true, you should use flush/close internal needs and return last responses, because applyDataFilter will never be called for the current instance.- Returns:
- empty for "ignore" filter/data collector filter null for stop data transfert operation returned BufferVault can be re-used here after, and can be empty after call
- Throws:
IOException
-
getResults
-
getFilterName
- Specified by:
getFilterNamein interfaceDataExchangeFilter
-