Module jcifs

Interface CommonServerMessageBlockRequest

All Superinterfaces:
CommonServerMessageBlock, Message, Request
All Known Subinterfaces:
Request<T>
All Known Implementing Classes:
AndXServerMessageBlock, NetServerEnum2, NetServerEnum2Response, NetShareEnum, NetShareEnumResponse, NtTransNotifyChange, NtTransNotifyChangeResponse, NtTransQuerySecurityDesc, NtTransQuerySecurityDescResponse, ServerMessageBlock, ServerMessageBlock2Request, Smb2CancelRequest, Smb2ChangeNotifyRequest, Smb2CloseRequest, Smb2CreateRequest, Smb2EchoRequest, Smb2FlushRequest, Smb2IoctlRequest, Smb2LockRequest, Smb2LogoffRequest, Smb2NegotiateRequest, Smb2QueryDirectoryRequest, Smb2QueryInfoRequest, Smb2ReadRequest, Smb2SessionSetupRequest, Smb2SetInfoRequest, Smb2TreeConnectRequest, Smb2TreeDisconnectRequest, Smb2WriteRequest, SmbComBlankResponse, SmbComClose, SmbComCreateDirectory, SmbComDelete, SmbComDeleteDirectory, SmbComFindClose2, SmbComLockingAndX, SmbComLogoffAndX, SmbComNegotiate, SmbComNegotiateResponse, SmbComNtCancel, SmbComNTCreateAndX, SmbComNTCreateAndXResponse, SmbComNtTransaction, SmbComNtTransactionResponse, SmbComOpenAndX, SmbComOpenAndXResponse, SmbComQueryInformation, SmbComQueryInformationResponse, SmbComReadAndX, SmbComReadAndXResponse, SmbComRename, SmbComSeek, SmbComSeekResponse, SmbComSessionSetupAndX, SmbComSessionSetupAndXResponse, SmbComSetInformation, SmbComSetInformationResponse, SmbComTransaction, SmbComTransactionResponse, SmbComTreeConnectAndX, SmbComTreeConnectAndXResponse, SmbComTreeDisconnect, SmbComWrite, SmbComWriteAndX, SmbComWriteAndXResponse, SmbComWriteResponse, Trans2FindFirst2, Trans2FindFirst2Response, Trans2FindNext2, Trans2GetDfsReferral, Trans2GetDfsReferralResponse, Trans2QueryFSInformation, Trans2QueryFSInformationResponse, Trans2QueryPathInformation, Trans2QueryPathInformationResponse, Trans2SetFileInformation, Trans2SetFileInformationResponse, TransCallNamedPipe, TransCallNamedPipeResponse, TransPeekNamedPipe, TransPeekNamedPipeResponse, TransTransactNamedPipe, TransTransactNamedPipeResponse, TransWaitNamedPipe, TransWaitNamedPipeResponse

public interface CommonServerMessageBlockRequest extends CommonServerMessageBlock, Request
Interface for SMB request messages sent from client to server. Extends the common SMB message block with request-specific functionality including asynchronous handling, message chaining, cancellation, and timeout management.
Author:
mbechler
  • Method Details

    • isResponseAsync

      boolean isResponseAsync()
      Checks if the request will be handled asynchronously.
      Returns:
      request was handled asynchronously
    • getNext

      Description copied from interface: Request
      Gets the next request in the chain.
      Specified by:
      getNext in interface Request
      Returns:
      next chained message
    • split

      Splits this request for processing.
      Returns:
      the following message
    • size

      int size()
      Gets the size of this message.
      Returns:
      the size of this message
    • createCancel

      Creates a cancel request for this request.
      Returns:
      create cancel request
    • allowChain

      boolean allowChain(CommonServerMessageBlockRequest next)
      Checks if chaining is allowed with the next request.
      Parameters:
      next - the next request in the chain
      Returns:
      whether to allow chaining
    • setTid

      void setTid(int t)
      Sets the tree ID.
      Parameters:
      t - the tree ID to set
    • getOverrideTimeout

      Integer getOverrideTimeout()
      Gets the custom response timeout for this request.
      Returns:
      custom response timeout for this request