diff options
author | Simon Rettberg | 2018-04-13 10:10:49 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-13 10:10:49 +0200 |
commit | e8873c0718b39666a87086d1e0a8a35c51003a76 (patch) | |
tree | 151b65dddd54361ce442517f51aeef3e2fb4ca1a /src/main/java/org/openslx/filetransfer/util/StandaloneFileChunk.java | |
parent | added mountpoint/drive and displaynames to netshare (diff) | |
download | master-sync-shared-e8873c0718b39666a87086d1e0a8a35c51003a76.tar.gz master-sync-shared-e8873c0718b39666a87086d1e0a8a35c51003a76.tar.xz master-sync-shared-e8873c0718b39666a87086d1e0a8a35c51003a76.zip |
Filetransfer: Support calculating dnbd3 crc32 list
Diffstat (limited to 'src/main/java/org/openslx/filetransfer/util/StandaloneFileChunk.java')
-rw-r--r-- | src/main/java/org/openslx/filetransfer/util/StandaloneFileChunk.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/filetransfer/util/StandaloneFileChunk.java b/src/main/java/org/openslx/filetransfer/util/StandaloneFileChunk.java new file mode 100644 index 0000000..cc47a8e --- /dev/null +++ b/src/main/java/org/openslx/filetransfer/util/StandaloneFileChunk.java @@ -0,0 +1,16 @@ +package org.openslx.filetransfer.util; + +public class StandaloneFileChunk extends FileChunk +{ + + public StandaloneFileChunk( long startOffset, long endOffset, byte[] sha1sum ) + { + super( startOffset, endOffset, sha1sum ); + } + + public void overrideStatus(ChunkStatus status) + { + this.status = status; + } + +} |