Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 144 for Pipe (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipe.java

    /**
     * SMB1 Transaction Wait Named Pipe request implementation.
     * Implements the TRANS_WAIT_NAMED_PIPE transaction to wait for a named pipe
     * to become available when the pipe server is busy or temporarily unavailable.
     *
     * @author mbechler
     */
    public class TransWaitNamedPipe extends SmbComTransaction {
    
        /**
         * Constructs a wait request for a named pipe.
         *
         * @param config the configuration to use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue();
                assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024");
                assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024");
                assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024");
            }
        }
    
        @Nested
        @DisplayName("Lifecycle and exception mapping")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            assertEquals(0x1, buffer[12]);
        }
    
        @Test
        @DisplayName("Test with special characters in pipe name")
        void testWithSpecialCharactersInPipeName() {
            // Test with special characters
            String pipeName = "\\\\?\\pipe\\test$pipe#name!";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
            byte[] nameBytes = pipeName.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            @CsvSource({ "'ncacn_np:\\\\server[endpoint=\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'",
                    "'ncacn_np:server[\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'",
                    "'ncacn_np:[\\pipe\\srvsvc]', ncacn_np, 127.0.0.1, '\\pipe\\srvsvc'",
                    "'ncacn_np:server[endpoint=\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbPipeHandle.java

    import java.io.OutputStream;
    
    /**
     * Handle to an open named pipe
     *
     * @author mbechler
     *
     */
    public interface SmbPipeHandle extends AutoCloseable {
    
        /**
         * Gets the pipe resource associated with this handle.
         *
         * @return the pipe
         */
        SmbPipeResource getPipe();
    
        /**
         * Gets the input stream for reading from this pipe.
         *
         * @return this pipe's input stream
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (out != null && !out.isOpen()) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            if (in == null) {
                in = (SmbFileInputStream) pipe.getNamedPipeInputStream();
            }
            if (out == null) {
                out = (SmbFileOutputStream) pipe.getNamedPipeOutputStream();
            }
            if (isDirect) {
                out.writeDirect(buf, off, length, 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        private final SmbNamedPipe pipe;
        static final int STATUS_DISCONNECTED = 1;
        static final int STATUS_LISTENING = 2;
        static final int STATUS_CONNECTION_OK = 3;
        static final int STATUS_SERVER_END_CLOSED = 4;
    
        int status, available;
    
        TransPeekNamedPipeResponse(final SmbNamedPipe pipe) {
            this.pipe = pipe;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

        private final int pipeDataOff, pipeDataLen;
    
        /**
         * Constructs a TransCallNamedPipe request to write data to a named pipe.
         *
         * @param config the SMB configuration
         * @param pipeName the name of the pipe to call
         * @param data the data buffer to write to the pipe
         * @param off the offset in the data buffer
         * @param len the length of data to write
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 transaction subcommand for transacting with a named pipe.
     *
     * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which
     * combines writing data to a pipe and reading the response in a single operation.
     * This is more efficient than separate write and read operations.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

        /**
         * Constructs a TransPeekNamedPipe request to check the status of a named pipe.
         *
         * @param config the SMB configuration
         * @param pipeName the name of the pipe to peek
         * @param fid the file identifier for the pipe
         */
        public TransPeekNamedPipe(final Configuration config, final String pipeName, final int fid) {
            super(config, SMB_COM_TRANSACTION, TRANS_PEEK_NAMED_PIPE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top