Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TYPE_COMM (0.03 sec)

  1. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x08, SmbConstants.TYPE_SHARE);
            assertEquals(0x10, SmbConstants.TYPE_NAMED_PIPE);
            assertEquals(0x20, SmbConstants.TYPE_PRINTER);
            assertEquals(0x40, SmbConstants.TYPE_COMM);
        }
    
        @Test
        @DisplayName("Should define open flags constants")
        void testOpenFlagsConstants() {
            assertEquals(0x01, SmbConstants.O_RDONLY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

            if ("LPT1:".equals(connectedService)) {
                return SmbConstants.TYPE_PRINTER;
            }
            if ("COMM".equals(connectedService)) {
                return SmbConstants.TYPE_COMM;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
        /**
         * @return the service
         */
        public String getService() {
            return this.service;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

         */
        int TYPE_PRINTER = 0x20;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a communications device.
         */
        int TYPE_COMM = 0x40;
    
        /* open flags */
    
        /**
         * Open for reading only.
         */
        int O_RDONLY = 0x01;
        /**
         * Open for writing only.
         */
        int O_WRONLY = 0x02;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

        /**
         * Returns type of of object this <code>SmbResource</code> represents.
         *
         * @return <code>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE,
         * TYPE_PRINTER, TYPE_NAMED_PIPE</code>, or <code>TYPE_COMM</code>.
         * @throws CIFSException if an error occurs accessing the resource
         */
        int getType() throws CIFSException;
    
        /**
         * Tests to see if the SMB resource exists. If the resource refers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top