- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SrvPipePeekResponse (0.24 sec)
-
src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java
* Provides information about data available in a named pipe. * * @author svella * */ public class SrvPipePeekResponse implements Decodable { /** * Constructs a new SrvPipePeekResponse. * This response contains information about data available in a named pipe. */ public SrvPipePeekResponse() { } // see https://msdn.microsoft.com/en-us/library/dd414577.aspx private int namedPipeState;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
import jcifs.internal.util.SMBUtil; /** * Test class for SrvPipePeekResponse * Tests the decoding of FSCTL_PIPE_PEEK response according to MS-FSCC 2.3.29 */ class SrvPipePeekResponseTest { private SrvPipePeekResponse response; @BeforeEach void setUp() { response = new SrvPipePeekResponse(); } @Test @DisplayName("Test successful decode with data")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
import jcifs.internal.smb1.trans.TransPeekNamedPipeResponse; import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlResponse; import jcifs.internal.smb2.ioctl.SrvPipePeekResponse; /** * Input stream for reading from SMB named pipes. * * This class provides a stream-based interface for reading * data from SMB named pipes over the network. * * @author mbechler */
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
when(tree.getConfig()).thenReturn(config); when(config.getTransactionBufferSize()).thenReturn(65535); Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class); SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class); when(peek.getReadDataAvailable()).thenReturn(7); when(ioResp.getOutputData()).thenReturn(peek);
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/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// Use constructor that sets ctlCode Smb2IoctlResponse resp = new Smb2IoctlResponse(config, null, Smb2IoctlRequest.FSCTL_PIPE_PEEK); resp.decode(packet, 0); SrvPipePeekResponse peek = resp.getOutputData(SrvPipePeekResponse.class); assertNotNull(peek); assertEquals(16, resp.getOutputLength()); // Default zeros assertEquals(0, peek.getNamedPipeState());
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
case Smb2IoctlRequest.FSCTL_VALIDATE_NEGOTIATE_INFO: return new ValidateNegotiateInfoResponse(); case Smb2IoctlRequest.FSCTL_PIPE_PEEK: return new SrvPipePeekResponse(); } return null; } /** * Creates a decodable object for the input data based on the control code. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0)