Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for SmbNamedPipe (0.32 sec)

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

    /**
     * @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;
        private final int access;
        private volatile boolean open = true;
    
    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/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private final SmbNamedPipe pipe;
    
        TransTransactNamedPipeResponse(final SmbNamedPipe pipe) {
            this.pipe = pipe;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/CIFSContextWrapper.java

    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.Handler;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    /**
     * A wrapper implementation of CIFSContext that delegates to another context.
     * This class allows for context decoration and customization through delegation.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/BaseContext.java

    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.DfsImpl;
    import jcifs.smb.Handler;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SIDCacheImpl;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbTransportPoolImpl;
    
    /**
     * Base implementation of CIFS context providing core functionality for SMB operations.
     * This class serves as the foundation for context implementations in the jCIFS library.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Unit tests for the {@link TransTransactNamedPipeResponse} class.
     */
    class TransTransactNamedPipeResponseTest {
    
        @Mock
        private SmbNamedPipe mockPipe;
    
        @Mock
        private TransactNamedPipeInputStream mockPipeIn;
    
        @InjectMocks
        private TransTransactNamedPipeResponse response;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

    import jcifs.SmbPipeResource;
    import jcifs.SmbResourceLocator;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbPipeHandleInternal;
    import jcifs.util.Encdec;
    
    /**
     * Test class for DcerpcPipeHandle
     */
    @ExtendWith(MockitoExtension.class)
    class DcerpcPipeHandleTest {
    
        @Mock
        private CIFSContext mockContext;
        @Mock
        private SmbNamedPipe mockSmbNamedPipe;
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         */
        @Override
        public int available() throws IOException {
            SmbNamedPipe pipe;
            TransPeekNamedPipe req;
            TransPeekNamedPipeResponse resp;
    
            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                return 0;
            }
    
            try {
                pipe = (SmbNamedPipe) file;
                file.open(SmbFile.O_EXCL, pipe.pipeType & 0xFF0000, SmbFile.ATTR_NORMAL, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

    import jcifs.CIFSException;
    
    @ExtendWith(MockitoExtension.class)
    class SmbPipeOutputStreamTest {
    
        @Mock
        SmbPipeHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        @Mock
        SmbNamedPipe pipe;
    
        @Mock
        SmbFileHandleImpl fileHandle;
    
        private SmbPipeOutputStream newStream() throws CIFSException {
            // Arrange common constructor collaborators to avoid touching network/state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                } catch (final SmbAuthException sae) {
                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    
    @ExtendWith(MockitoExtension.class)
    class SmbPipeHandleInternalTest {
    
        @Mock
        private SmbNamedPipe pipe;
    
        @Mock
        private SmbTreeHandleImpl tree;
    
        @Mock
        private SmbFileHandleImpl fh;
    
        @Mock
        private Smb2IoctlResponse ioctlResp;
    
        @Mock
        private Configuration config;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top