public class Smb2QueryInfoRequest extends ServerMessageBlock2Request<Smb2QueryInfoResponse> implements RequestWithFileId
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 |
---|
Smb2QueryInfoRequest(Configuration config) |
Smb2QueryInfoRequest(Configuration config,
byte[] fileId) |
Modifier and Type | Method and Description |
---|---|
void |
setAdditionalInformation(int additionalInformation) |
void |
setFileId(byte[] fileId) |
void |
setFileInfoClass(byte fileInfoClass) |
void |
setFilesystemInfoClass(byte fileInfoClass) |
void |
setInfoType(byte infoType) |
void |
setQueryFlags(int queryFlags) |
int |
size() |
allowChain, createCancel, encode, getCreditCost, getNext, getOverrideTimeout, getResponse, ignoreDisconnect, initResponse, isCancel, isResponseAsync, setNext, setOverrideTimeout, setRequestCredits, setResponse, setTid, split
addFlags, 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, toString
decode, getCommand, getDigest, getMid, reset, setCommand, setDigest, setExtendedSecurity, setMid, setSessionId, setUid
getRawPayload, isRetainPayload, retainPayload, setRawPayload
public Smb2QueryInfoRequest(Configuration config)
config
- public Smb2QueryInfoRequest(Configuration config, byte[] fileId)
config
- fileId
- public void setFileId(byte[] fileId)
setFileId
in interface RequestWithFileId
RequestWithFileId.setFileId(byte[])
public final void setInfoType(byte infoType)
infoType
- the infoType to setpublic final void setFileInfoClass(byte fileInfoClass)
fileInfoClass
- the fileInfoClass to setpublic final void setFilesystemInfoClass(byte fileInfoClass)
fileInfoClass
- the fileInfoClass to setpublic final void setAdditionalInformation(int additionalInformation)
additionalInformation
- the additionalInformation to setpublic final void setQueryFlags(int queryFlags)
queryFlags
- the queryFlags to setpublic int size()
size
in interface CommonServerMessageBlockRequest
CommonServerMessageBlockRequest.size()
Copyright © 2019. All rights reserved.