- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SmbPipeInputStream (0.09 sec)
-
src/main/java/jcifs/smb/SmbPipeInputStream.java
* data from SMB named pipes over the network. * * @author mbechler */ public class SmbPipeInputStream extends SmbFileInputStream { private final SmbPipeHandleImpl handle; /** * @param handle * @param th * @throws SmbException */ SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null);
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/main/java/jcifs/smb/SmbPipeHandleImpl.java
*/ @Override public SmbPipeInputStream getInput() throws CIFSException { if (!this.open) { throw new SmbException("Already closed"); } if (this.input != null) { return this.input; } try (SmbTreeHandleImpl th = ensureTreeConnected()) { this.input = new SmbPipeInputStream(this, th); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.hasCapability(anyInt())).thenReturn(false); return new SmbPipeInputStream(handle, tree); } private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(smb2); return new SmbPipeInputStream(handle, tree); } @Test
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/smb/SmbPipeHandleInternalTest.java
when(tree.getReceiveBufferSize()).thenReturn(4096); // Act: first calls construct streams, second calls return cached SmbPipeInputStream in1 = handle.getInput(); SmbPipeInputStream in2 = handle.getInput(); SmbPipeOutputStream out1 = handle.getOutput(); SmbPipeOutputStream out2 = handle.getOutput();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
@Test @DisplayName("recv delegates to input.readDirect and returns its value") void testRecvDelegation() throws Exception { SmbPipeHandleImpl spyTarget = spy(target); SmbPipeInputStream in = mock(SmbPipeInputStream.class); doReturn(in).when(spyTarget).getInput(); when(in.readDirect(any(), anyInt(), anyInt())).thenReturn(7); byte[] b = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
/** * Gets the input stream for reading from this pipe. * * @return this pipe's input stream * @throws CIFSException if an error occurs getting the input stream */ @Override SmbPipeInputStream getInput() throws CIFSException; /** * * @return this pipe's output stream * @throws CIFSException if an error occurs */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0)