パッケージ jcifs.internal.smb2
クラス ServerMessageBlock2Response
- java.lang.Object
-
- jcifs.internal.smb2.ServerMessageBlock2
-
- jcifs.internal.smb2.ServerMessageBlock2Response
-
- すべての実装されたインタフェース:
CommonServerMessageBlock,CommonServerMessageBlockResponse,Message,Response
- 直系の既知のサブクラス:
Smb2ChangeNotifyResponse,Smb2CloseResponse,Smb2CreateResponse,Smb2EchoResponse,Smb2FlushResponse,Smb2IoctlResponse,Smb2LockResponse,Smb2LogoffResponse,Smb2NegotiateResponse,Smb2OplockBreakNotification,Smb2QueryDirectoryResponse,Smb2QueryInfoResponse,Smb2ReadResponse,Smb2SessionSetupResponse,Smb2SetInfoResponse,Smb2TreeConnectResponse,Smb2TreeDisconnectResponse,Smb2WriteResponse
public abstract class ServerMessageBlock2Response extends ServerMessageBlock2 implements CommonServerMessageBlockResponse
- 作成者:
- mbechler
-
-
フィールドの概要
-
クラスから継承されたフィールド jcifs.internal.smb2.ServerMessageBlock2
SMB2_CANCEL, SMB2_CHANGE_NOTIFY, SMB2_CLOSE, SMB2_CREATE, SMB2_ECHO, 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, SMB2_FLUSH, SMB2_IOCTL, SMB2_LOCK, SMB2_LOGOFF, SMB2_NEGOTIATE, SMB2_OPLOCK_BREAK, SMB2_QUERY_DIRECTORY, SMB2_QUERY_INFO, SMB2_READ, SMB2_SESSION_SETUP, SMB2_SET_INFO, SMB2_TREE_CONNECT, SMB2_TREE_DISCONNECT, SMB2_WRITE
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ServerMessageBlock2Response(Configuration config)ServerMessageBlock2Response(Configuration config, int command)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 voidclearReceived()Unset received statusvoiderror()Set error statusvoidexception(Exception e)intgetErrorCode()ExceptiongetException()LonggetExpiration()intgetGrantedCredits()CommonServerMessageBlockResponsegetNextResponse()protected voidhaveResponse(byte[] buffer, int start, int len)booleanisAsyncHandled()booleanisError()booleanisReceived()booleanisSigned()booleanisVerifyFailed()voidprepare(CommonServerMessageBlockRequest next)voidreceived()Set received statusvoidreset()voidsetAsyncHandled(boolean asyncHandled)voidsetExpiration(Long exp)booleanverifySignature(byte[] buffer, int i, int size)-
クラスから継承されたメソッド jcifs.internal.smb2.ServerMessageBlock2
addFlags, chain, clearFlags, decode, decode, encode, equals, getAsyncId, getCommand, getConfig, getCredit, getCreditCharge, getDigest, getErrorContextCount, getErrorData, getFlags, getHeaderStart, getLength, getMid, getNext, getNextCommandOffset, getRawPayload, getResponse, getSessionId, getStatus, getTreeId, hashCode, isAsync, isErrorResponseStatus, isRetainPayload, pad8, readBytesWireFormat, readErrorResponse, readHeaderWireFormat, retainPayload, setAsyncId, setCommand, setCredit, setDigest, setExtendedSecurity, setMid, setNext, setRawPayload, setReadSize, setResponse, setSessionId, setTreeId, setUid, size8, size8, toString, writeBytesWireFormat, writeHeaderWireFormat
-
インタフェースから継承されたメソッド jcifs.internal.CommonServerMessageBlock
decode, encode, getCommand, getDigest, getMid, getResponse, setCommand, setDigest, setExtendedSecurity, setMid, setResponse, setSessionId, setUid
-
インタフェースから継承されたメソッド jcifs.internal.CommonServerMessageBlockResponse
isAsync
-
インタフェースから継承されたメソッド jcifs.util.transport.Message
getRawPayload, isRetainPayload, retainPayload, setRawPayload
-
-
-
-
コンストラクタの詳細
-
ServerMessageBlock2Response
public ServerMessageBlock2Response(Configuration config, int command)
- パラメータ:
config-command-
-
ServerMessageBlock2Response
public ServerMessageBlock2Response(Configuration config)
- パラメータ:
config-
-
-
メソッドの詳細
-
getNextResponse
public CommonServerMessageBlockResponse getNextResponse()
- 定義:
getNextResponseインタフェース内CommonServerMessageBlockResponse- 定義:
getNextResponseインタフェース内Response- 戻り値:
- the next response
- 関連項目:
CommonServerMessageBlockResponse.getNextResponse()
-
prepare
public void prepare(CommonServerMessageBlockRequest next)
-
reset
public void reset()
- 定義:
resetインタフェース内CommonServerMessageBlock- 定義:
resetインタフェース内Response- オーバーライド:
resetクラス内ServerMessageBlock2- 関連項目:
ServerMessageBlock2.reset()
-
received
public final void received()
Set received status- 定義:
receivedインタフェース内Response- 関連項目:
Response.received()
-
exception
public final void exception(Exception e)
- 定義:
exceptionインタフェース内Response- 関連項目:
Response.exception(java.lang.Exception)
-
error
public final void error()
Set error status- 定義:
errorインタフェース内Response- 関連項目:
Response.error()
-
clearReceived
public final void clearReceived()
Unset received status- 定義:
clearReceivedインタフェース内Response- 関連項目:
Response.clearReceived()
-
isReceived
public final boolean isReceived()
- 定義:
isReceivedインタフェース内Response- 戻り値:
- whether the response is received
- 関連項目:
Response.isReceived()
-
isError
public final boolean isError()
- 定義:
isErrorインタフェース内Response- 戻り値:
- whether the response is an error
- 関連項目:
Response.isError()
-
isSigned
public boolean isSigned()
- 戻り値:
- whether the packet has been signed.
-
getExpiration
public Long getExpiration()
- 定義:
getExpirationインタフェース内Response- 戻り値:
- the message timeout
- 関連項目:
Response.getExpiration()
-
setExpiration
public void setExpiration(Long exp)
- 定義:
setExpirationインタフェース内Response- パラメータ:
exp- message timeout- 関連項目:
Response.setExpiration(java.lang.Long)
-
isAsyncHandled
public boolean isAsyncHandled()
- 戻り値:
- whether the interim response has been handled
-
setAsyncHandled
public void setAsyncHandled(boolean asyncHandled)
- パラメータ:
asyncHandled- the asyncHandled to set
-
getException
public Exception getException()
- 定義:
getExceptionインタフェース内Response- 戻り値:
- an exception linked to an error
- 関連項目:
Response.getException()
-
getErrorCode
public final int getErrorCode()
- 定義:
getErrorCodeインタフェース内Response- 戻り値:
- error status code
-
isVerifyFailed
public final boolean isVerifyFailed()
- 定義:
isVerifyFailedインタフェース内Response- 戻り値:
- whether signature verification failed
-
getGrantedCredits
public int getGrantedCredits()
- 定義:
getGrantedCreditsインタフェース内Response- 戻り値:
- number of credits granted by the server
- 関連項目:
Response.getGrantedCredits()
-
haveResponse
protected void haveResponse(byte[] buffer, int start, int len) throws SMBProtocolDecodingException
-
verifySignature
public boolean verifySignature(byte[] buffer, int i, int size)- 定義:
verifySignatureインタフェース内Response- 戻り値:
- whether signature verification is successful
- 関連項目:
Response.verifySignature(byte[], int, int)
-
-