public class Smb2ReadRequest extends ServerMessageBlock2Request<Smb2ReadResponse> implements RequestWithFileId
| Modifier and Type | Field and Description |
|---|---|
static int |
SMB2_CHANNEL_NONE |
static int |
SMB2_CHANNEL_RDMA_V1 |
static int |
SMB2_CHANNEL_RDMA_V1_INVALIDATE |
static byte |
SMB2_READFLAG_READ_UNBUFFERED |
SMB2_FLAGS_ASYNC_COMMAND, SMB2_FLAGS_DFS_OPERATIONS, SMB2_FLAGS_PRIORITY_MASK, SMB2_FLAGS_RELATED_OPERATIONS, SMB2_FLAGS_REPLAY_OPERATION, SMB2_FLAGS_SERVER_TO_REDIR, SMB2_FLAGS_SIGNED| Constructor and Description |
|---|
Smb2ReadRequest(Configuration config,
byte[] fileId,
byte[] outputBuffer,
int outputBufferOffset) |
| Modifier and Type | Method and Description |
|---|---|
void |
setFileId(byte[] fileId) |
void |
setMinimumCount(int minimumCount) |
void |
setOffset(long offset) |
void |
setPadding(byte padding) |
void |
setReadFlags(byte readFlags) |
void |
setReadLength(int readLength) |
void |
setRemainingBytes(int remainingBytes) |
int |
size() |
allowChain, createCancel, encode, getCreditCost, getNext, getOverrideTimeout, getResponse, ignoreDisconnect, initResponse, isCancel, isResponseAsync, setNext, setOverrideTimeout, setRequestCredits, setResponse, setTid, splitaddFlags, chain, clearFlags, decode, decode, equals, getAsyncId, getCommand, getCredit, getCreditCharge, getDigest, getErrorContextCount, getErrorData, getFlags, getHeaderStart, getLength, getMid, getNextCommandOffset, getRawPayload, getSessionId, getStatus, getTreeId, hashCode, isAsync, isRetainPayload, reset, retainPayload, setAsyncId, setCommand, setCredit, setDigest, setExtendedSecurity, setMid, setRawPayload, setReadSize, setSessionId, setTreeId, setUid, toStringdecode, getCommand, getDigest, getMid, reset, setCommand, setDigest, setExtendedSecurity, setMid, setSessionId, setUidgetRawPayload, isRetainPayload, retainPayload, setRawPayloadpublic static byte SMB2_READFLAG_READ_UNBUFFERED
public static int SMB2_CHANNEL_NONE
public static int SMB2_CHANNEL_RDMA_V1
public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE
public Smb2ReadRequest(Configuration config, byte[] fileId, byte[] outputBuffer, int outputBufferOffset)
config - fileId - outputBuffer - outputBufferOffset - public void setFileId(byte[] fileId)
setFileId in interface RequestWithFileIdRequestWithFileId.setFileId(byte[])public void setPadding(byte padding)
padding - the padding to setpublic void setReadFlags(byte readFlags)
readFlags - the readFlags to setpublic void setReadLength(int readLength)
readLength - the readLength to setpublic void setOffset(long offset)
offset - the offset to setpublic void setMinimumCount(int minimumCount)
minimumCount - the minimumCount to setpublic void setRemainingBytes(int remainingBytes)
remainingBytes - the remainingBytes to setpublic int size()
size in interface CommonServerMessageBlockRequestCommonServerMessageBlockRequest.size()Copyright © 2021. All rights reserved.