Package | Description |
---|---|
org.waarp.common.file |
Classes implementing File, Directory, Authentication and Session Interfaces
|
org.waarp.openr66.context |
Classes implementing Session, Result and ErrorCode
|
org.waarp.openr66.protocol.localhandler |
Classes implementing LocalHandlers (real work)
|
org.waarp.openr66.protocol.localhandler.packet |
Classes implementing Packet for Local Handlers
|
org.waarp.openr66.protocol.utils |
Classes implementing Utilities
|
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.computeGlobalHash(FilesystemBasedDigest digest,
File file,
int length)
Compute global hash (if possible) from a file but up to length
|
Modifier and Type | Method and Description |
---|---|
FilesystemBasedDigest |
R66Session.getDigestBlock() |
Modifier and Type | Field and Description |
---|---|
protected FilesystemBasedDigest |
ConnectionActions.globalDigest
Global Digest in receive
|
protected FilesystemBasedDigest |
ConnectionActions.localDigest
Global Digest in receive using local hash if necessary
|
Modifier and Type | Method and Description |
---|---|
static io.netty.channel.ChannelFuture |
RetrieveRunner.writeWhenPossible(DataBlock block,
LocalChannelReference localChannelReference,
FilesystemBasedDigest digestGlobal,
FilesystemBasedDigest digestBlock)
Write the next block when the channel is ready to prevent OOM
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataPacket.isKeyValid(FilesystemBasedDigest digestBlock,
FilesystemBasedDigest digestGlobal,
FilesystemBasedDigest digestLocal) |
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.computeGlobalHash(FilesystemBasedDigest digestGlobal,
FilesystemBasedDigest digestLocal,
byte[] buffer,
int size)
Compute global hash and local hash (if possible)
|
static byte[] |
FileUtils.getHash(byte[] buffer,
int size,
FilesystemBasedDigest.DigestAlgo algo,
FilesystemBasedDigest digestGlobal) |
static io.netty.channel.ChannelFuture |
ChannelUtils.writeBackDataBlock(LocalChannelReference localChannelReference,
FilesystemBasedDigest digestGlobal,
DataBlock block,
FilesystemBasedDigest digestBlock) |
Copyright © 2009–2022 Waarp. All rights reserved.