java.lang.Object
org.codelibs.jcifs.smb.internal.smb2.ioctl.SrvCopyChunkCopyResponse
- All Implemented Interfaces:
Decodable
SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
of a server-side copy operation.
- Author:
- mbechler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdecode(byte[] buffer, int bufferIndex, int len) Decode data from a byte bufferintGets the number of bytes written in the last chunkintGets the number of chunks successfully writtenintGets the total number of bytes written in the copy operation
-
Constructor Details
-
SrvCopyChunkCopyResponse
public SrvCopyChunkCopyResponse()Constructs a new SrvCopyChunkCopyResponse. This response contains the results of a server-side copy operation.
-
-
Method Details
-
getChunkBytesWritten
public int getChunkBytesWritten()Gets the number of bytes written in the last chunk- Returns:
- the chunkBytesWritten
-
getChunksWritten
public int getChunksWritten()Gets the number of chunks successfully written- Returns:
- the chunksWritten
-
getTotalBytesWritten
public int getTotalBytesWritten()Gets the total number of bytes written in the copy operation- Returns:
- the totalBytesWritten
-
decode
Decode data from a byte buffer- Specified by:
decodein interfaceDecodable- Parameters:
buffer- the byte buffer containing the data to decodebufferIndex- the starting index in the bufferlen- the maximum length of data to decode- Returns:
- decoded length
- Throws:
SMBProtocolDecodingException- if decoding fails- See Also:
-