Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SmbPipeHandleImpl (1.15 sec)

  1. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.util.ByteEncodable;
    
    /**
     * @author mbechler
     *
     */
    class SmbPipeHandleImpl implements SmbPipeHandleInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbPipeHandleImpl.class);
    
        private final SmbNamedPipe pipe;
        private final boolean transact;
        private final boolean call;
    
        private final int openFlags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        void unwrap_success_and_failure() {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\z");
    
            // Happy path: unwrap to interface and concrete type
            SmbPipeHandle unwrapped1 = handle.unwrap(SmbPipeHandle.class);
            SmbPipeHandleImpl unwrapped2 = handle.unwrap(SmbPipeHandleImpl.class);
            assertSame(handle, unwrapped1);
            assertSame(handle, unwrapped2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(config.getSendBufferSize()).thenReturn(65536);
    
            target = new SmbPipeHandleImpl(pipe);
        }
    
        @Test
        @DisplayName("unwrap returns self for assignable type; throws for incompatible and null")
        void testUnwrap() {
            // Happy path: unwrap to concrete type
            SmbPipeHandleImpl unwrapped = target.unwrap(SmbPipeHandleImpl.class);
            assertSame(target, unwrapped);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.SrvPipePeekResponse;
    
    @ExtendWith(MockitoExtension.class)
    class SmbPipeInputStreamTest {
    
        @Mock
        SmbPipeHandleImpl handle;
        @Mock
        SmbNamedPipe pipe;
        @Mock
        SmbTreeHandleImpl tree;
        @Mock
        SmbFileHandleImpl fd;
        @Mock
        Configuration config;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top