public abstract class ServerMessageBlock2Response extends ServerMessageBlock2 implements CommonServerMessageBlockResponse
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 |
|---|
ServerMessageBlock2Response(Configuration config) |
ServerMessageBlock2Response(Configuration config,
int command) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearReceived()
Unset received status
|
void |
error()
Set error status
|
void |
exception(Exception e) |
int |
getErrorCode() |
Exception |
getException() |
Long |
getExpiration() |
int |
getGrantedCredits() |
CommonServerMessageBlockResponse |
getNextResponse() |
boolean |
isAsyncHandled() |
boolean |
isError() |
boolean |
isReceived() |
boolean |
isSigned() |
boolean |
isVerifyFailed() |
void |
prepare(CommonServerMessageBlockRequest next) |
void |
received()
Set received status
|
void |
reset() |
void |
setAsyncHandled(boolean asyncHandled) |
void |
setExpiration(Long exp) |
boolean |
verifySignature(byte[] buffer,
int i,
int size) |
addFlags, chain, clearFlags, decode, decode, encode, equals, getAsyncId, getCommand, getCredit, getCreditCharge, getDigest, getErrorContextCount, getErrorData, getFlags, getHeaderStart, getLength, getMid, getNextCommandOffset, getRawPayload, getResponse, getSessionId, getStatus, getTreeId, hashCode, isAsync, isRetainPayload, retainPayload, setAsyncId, setCommand, setCredit, setDigest, setExtendedSecurity, setMid, setRawPayload, setReadSize, setResponse, setSessionId, setTreeId, setUid, toStringisAsyncdecode, encode, getCommand, getDigest, getMid, getResponse, setCommand, setDigest, setExtendedSecurity, setMid, setResponse, setSessionId, setUidgetRawPayload, isRetainPayload, retainPayload, setRawPayloadpublic ServerMessageBlock2Response(Configuration config, int command)
config - command - public ServerMessageBlock2Response(Configuration config)
config - public CommonServerMessageBlockResponse getNextResponse()
getNextResponse in interface CommonServerMessageBlockResponsegetNextResponse in interface ResponseCommonServerMessageBlockResponse.getNextResponse()public void prepare(CommonServerMessageBlockRequest next)
prepare in interface CommonServerMessageBlockResponseCommonServerMessageBlockResponse.prepare(jcifs.internal.CommonServerMessageBlockRequest)public void reset()
reset in interface CommonServerMessageBlockreset in interface Responsereset in class ServerMessageBlock2ServerMessageBlock2.reset()public final void received()
received in interface ResponseResponse.received()public final void exception(Exception e)
exception in interface ResponseResponse.exception(java.lang.Exception)public final void error()
error in interface ResponseResponse.error()public final void clearReceived()
clearReceived in interface ResponseResponse.clearReceived()public final boolean isReceived()
isReceived in interface ResponseResponse.isReceived()public final boolean isError()
isError in interface ResponseResponse.isError()public boolean isSigned()
public Long getExpiration()
getExpiration in interface ResponseResponse.getExpiration()public void setExpiration(Long exp)
setExpiration in interface Responseexp - message timeoutResponse.setExpiration(java.lang.Long)public boolean isAsyncHandled()
public void setAsyncHandled(boolean asyncHandled)
asyncHandled - the asyncHandled to setpublic Exception getException()
getException in interface ResponseResponse.getException()public final int getErrorCode()
getErrorCode in interface Responsepublic final boolean isVerifyFailed()
isVerifyFailed in interface Responsepublic int getGrantedCredits()
getGrantedCredits in interface ResponseResponse.getGrantedCredits()public boolean verifySignature(byte[] buffer,
int i,
int size)
verifySignature in interface ResponseResponse.verifySignature(byte[], int, int)Copyright © 2023. All rights reserved.