Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for pipeType (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * @param url the SMB URL of the named pipe
         * @param pipeType the type of the pipe
         * @throws MalformedURLException if the URL is malformed
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbNamedPipe(final String url, final int pipeType) throws MalformedURLException, UnknownHostException {
            super(url);
            this.pipeType = pipeType;
            type = TYPE_NAMED_PIPE;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private final boolean dcePipe;
    
        TransactNamedPipeOutputStream(final SmbNamedPipe pipe) throws IOException {
            super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            path = pipe.unc;
        }
    
        @Override
        public void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbNamedPipe.java

        private final int pipeType;
    
        /**
         * Open the Named Pipe resource specified by the url
         * parameter. The pipeType parameter should be at least one of
         * the <code>PIPE_TYPE</code> flags combined with the bitwise OR
         * operator <code>|</code>. See the examples listed above.
         *
         * @param url the SMB URL for the named pipe
         * @param pipeType the type of the pipe
         * @param unshared
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        void getPipeTypeEchoesInput(int pipeType) throws Exception {
            // Arrange & Act
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", pipeType, ctx());
    
            // Assert
            assertEquals(pipeType, pipe.getPipeType());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        Object lock;
    
        TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException {
            super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            lock = new Object();
        }
    
        @Override
        public int read() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CIFSContextTest.java

            int pipeType = 1;
            SmbPipeResource mockPipe = mock(SmbPipeResource.class);
            when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe);
    
            // When
            SmbPipeResource pipe = mockContext.getPipe(url, pipeType);
    
            // Then
            assertEquals(mockPipe, pipe);
            verify(mockContext).getPipe(url, pipeType);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/CIFSContext.java

         * Get a pipe resource
         *
         * @param url the URL of the SMB pipe resource
         * @param pipeType
         *            the type of the pipe
         * @return the SMB pipe resource at the specified location
         * @throws CIFSException if the pipe resource cannot be accessed
         */
        SmbPipeResource getPipe(String url, int pipeType) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextWrapper.java

         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
        public SmbPipeResource getPipe(final String url, final int pipeType) throws CIFSException {
            try {
                return new SmbNamedPipe(url, pipeType, this);
            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/BaseContext.java

         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
        public SmbPipeResource getPipe(final String url, final int pipeType) throws CIFSException {
            try {
                return new SmbNamedPipe(url, pipeType, this);
            } catch (final MalformedURLException e) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            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);
    
                req = new TransPeekNamedPipe(file.unc, file.fid);
                resp = new TransPeekNamedPipeResponse(pipe);
    
                pipe.send(req, resp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top