Module jcifs

Class SrvRequestResumeKeyResponse

java.lang.Object
org.codelibs.jcifs.smb.internal.smb2.ioctl.SrvRequestResumeKeyResponse
All Implemented Interfaces:
Decodable

public class SrvRequestResumeKeyResponse extends Object implements Decodable
SMB2 SRV_REQUEST_RESUME_KEY response data structure. This structure contains a resume key that can be used for server-side copy operations.
Author:
mbechler
  • Constructor Details

    • SrvRequestResumeKeyResponse

      public SrvRequestResumeKeyResponse()
      Constructs a new SrvRequestResumeKeyResponse. This response contains the resume key used for server-side copy operations.
  • Method Details

    • getResumeKey

      public byte[] getResumeKey()
      Gets the resume key for server-side copy operations
      Returns:
      the resumeKey
    • decode

      public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException
      Decode data from a byte buffer
      Specified by:
      decode in interface Decodable
      Parameters:
      buffer - the byte buffer containing the data to decode
      bufferIndex - the starting index in the buffer
      len - the maximum length of data to decode
      Returns:
      decoded length
      Throws:
      SMBProtocolDecodingException - if decoding fails
      See Also: