Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 144 for Pipe (0.01 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        }
    
        /**
         * Tests the readDataWireFormat method when the pipe has a valid input stream.
         */
        @Test
        void testReadDataWireFormat_withPipeIn() {
            // Setup the mock pipe and its input stream
            mockPipe.pipeIn = mockPipeIn;
            // The 'lock' field in TransactNamedPipeInputStream needs to be a real object for synchronization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertTrue(result.contains("pipeName=null"));
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" })
        @DisplayName("toString should handle various pipe names")
        void testToStringWithVariousPipeNames(String pipeName) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

    /**
     * Response for SMB1 TRANS_WAIT_NAMED_PIPE transaction.
     *
     * This response is received after waiting for a named pipe to become available
     * for connection when the pipe server was busy.
     */
    public class TransWaitNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
         * Constructs a response for a wait named pipe request.
         *
         * @param config the configuration to use
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                return 0;
            }
    
            try {
                pipe = (SmbNamedPipe) file;
                file.open(SmbFile.O_EXCL, pipe.pipeType & 0xFF0000, SmbFile.ATTR_NORMAL, 0);
    
                req = new TransPeekNamedPipe(file.unc, file.fid);
                resp = new TransPeekNamedPipeResponse(pipe);
    
                pipe.send(req, resp);
                if (resp.status == TransPeekNamedPipeResponse.STATUS_DISCONNECTED
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

     *
     * This response contains the data returned from the named pipe
     * after a transact operation (write then read) has been completed.
     */
    public class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
        /**
         * Constructs a response for a named pipe transaction.
         *
         * @param config the configuration to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DosError.java

                "The filename, directory name, or volume label syntax is incorrect.", "The directory is not empty.",
                "Cannot create a file when that file already exists.", "All pipe instances are busy.", "The pipe is being closed.",
                "No process is on the other end of the pipe.", "More data is available.", "This user account has expired.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/DosError.java

                "The filename, directory name, or volume label syntax is incorrect.", "The directory is not empty.",
                "Cannot create a file when that file already exists.", "All pipe instances are busy.", "The pipe is being closed.",
                "No process is on the other end of the pipe.", "More data is available.", "This user account has expired.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share type constant for disk shares (file shares).
         */
        public static final byte SMB2_SHARE_TYPE_DISK = 0x1;
        /**
         * Share type constant for named pipe shares (IPC).
         */
        public static final byte SMB2_SHARE_TYPE_PIPE = 0x2;
        /**
         * Share type constant for printer shares.
         */
        public static final byte SMB2_SHARE_TYPE_PRINT = 0x3;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top