Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TYPE_NAMED_PIPE (0.16 sec)

  1. 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)
  2. src/main/java/jcifs/smb/SmbFile.java

        public boolean canRead () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    
        @Override
        public boolean canWrite () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for writing?
                return true;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top