Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for TYPE_NAMED_PIPE (0.18 sec)

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

            super( url );
            this.pipeType = pipeType;
            type = TYPE_NAMED_PIPE;
        }
        public SmbNamedPipe( String url, int pipeType, NtlmPasswordAuthentication auth )
                                throws MalformedURLException, UnknownHostException {
            super( url, auth );
            this.pipeType = pipeType;
            type = TYPE_NAMED_PIPE;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            this.access = access;
            this.sharing = sharing;
    
            try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) {
                this.smb2 = th.isSMB2();
                if ( file.getType() != SmbConstants.TYPE_NAMED_PIPE ) {
                    try ( SmbFileHandle h = ensureOpen() ) {}
                    this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC );
                }
    
                init(th);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    SmbComReadAndX request = new SmbComReadAndX( file.fid, fp, r, null );
    if( file.type == SmbFile.TYPE_NAMED_PIPE ) {
        request.minCount = request.maxCount = request.remaining = 1024;
    }
                    file.send( request, response );
                } catch( SmbException se ) {
                    if( file.type == SmbFile.TYPE_NAMED_PIPE &&
                            se.getNtStatus() == NtStatus.NT_STATUS_PIPE_BROKEN ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbNamedPipe.java

            setNonPooled(unshared);
            if ( !getLocator().isIPC() ) {
                throw new MalformedURLException("Named pipes are only valid on IPC$");
            }
            this.fileLocator.updateType(TYPE_NAMED_PIPE);
        }
    
    
        /**
         * Open the Named Pipe resource specified by the url
         * parameter. The pipeType parameter should be at least one of
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

             */
            switch (type & 0xFFFF) {
                case 1:
                    return SmbFile.TYPE_PRINTER;
                case 3:
                    return SmbFile.TYPE_NAMED_PIPE;
            }
            return SmbFile.TYPE_SHARE;
        }
        public int getAttributes() {
            return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
        }
        public long createTime() {
            return 0L;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        @Override
        public int getAttributes () {
            return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Feb 17 09:30:57 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
         * represents is a named pipe.
         */
        static final int TYPE_NAMED_PIPE = 0x10;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
         * represents is a printer.
         */
        static final int TYPE_PRINTER = 0x20;
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a named pipe.
         */
        public static final int TYPE_NAMED_PIPE = 0x10;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a printer.
         */
        public static final int TYPE_PRINTER = 0x20;
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceLocator.java

         */
        boolean isIPC ();
    
    
        /**
         * Returns type of of object this <tt>SmbFile</tt> represents.
         * 
         * @return <tt>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER,
         * TYPE_NAMED_PIPE</tt>, or <tt>TYPE_SHARE</tt> in which case it may be either <tt>TYPE_SHARE</tt>,
         *         <tt>TYPE_PRINTER</tt> or <tt>TYPE_COMM</tt>.
         * @throws CIFSException
         */
        int getType () throws CIFSException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

            }
            dirCount = fileCount = 0;
            maxLen = 28;
            for ( i = 0; i < dirents.length; i++ ) {
                try {
                    if ( dirents[ i ].getType() == SmbConstants.TYPE_NAMED_PIPE ) {
                        continue;
                    }
                }
                catch ( SmbAuthException sae ) {
                    log.warn("Auth failed", sae);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
Back to top