- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getOutputData (0.12 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
assertArrayEquals(output, outBuf, "Output should be copied into provided buffer"); // No Decodable output when buffer is provided assertNull(resp.getOutputData()); assertThrows(SmbException.class, () -> resp.getOutputData(SrvCopyChunkCopyResponse.class)); } @Test void throwsWhenOutputExceedsProvidedBuffer() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
* @throws SmbException if decoding fails or the response type is incompatible */ @SuppressWarnings("unchecked") public <T extends Decodable> T getOutputData(final Class<T> responseType) throws SmbException { final Decodable out = getOutputData(); if (out == null) { throw new SmbException("Failed to decode output data"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
resumeReq.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); final Smb2IoctlResponse resumeResp = sh.send(resumeReq); final SrvRequestResumeKeyResponse rkresp = resumeResp.getOutputData(SrvRequestResumeKeyResponse.class); size = sfd.getInitialSize(); resumeKey = rkresp.getResumeKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY); return ((SrvPipePeekResponse) resp.getOutputData()).getReadDataAvailable(); } final TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class); SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class); when(peek.getReadDataAvailable()).thenReturn(7); when(ioResp.getOutputData()).thenReturn(peek); when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp); // Act int available = stream.available(); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} // other errors are treated as success return; } final ValidateNegotiateInfoResponse out = resp.getOutputData(ValidateNegotiateInfoResponse.class); if (nego.getSecurityMode() != out.getSecurityMode() || nego.getCapabilities() != out.getCapabilities()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
// Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request); // if (response.isSuccess()) { // parseNetworkInterfaces(response.getOutputData()); // } log.debug("FSCTL_QUERY_NETWORK_INTERFACE_INFO prepared but needs session integration"); } private void parseNetworkInterfaces(byte[] data) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request); if (response.isSuccess()) { parseNetworkInterfaces(response.getOutputData()); } } private void parseNetworkInterfaces(byte[] data) { remoteInterfaces.clear(); int offset = 0; while (offset < data.length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); req.setInputData(dfsReq); dfsResp = ipc.send(req).getOutputData(DfsReferralResponseBuffer.class); } else { final Trans2GetDfsReferralResponse resp = new Trans2GetDfsReferralResponse(ctx.getConfig());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)