Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getNameType (0.24 sec)

  1. src/test/java/jcifs/NetbiosNameTest.java

        @Test
        @DisplayName("Should handle getNameType() method")
        void testGetNameType() {
            // Given
            int testType = 0x20; // Server service
            when(mockNetbiosName.getNameType()).thenReturn(testType);
    
            // When
            int nameType = mockNetbiosName.getNameType();
    
            // Then
            assertEquals(testType, nameType);
            verify(mockNetbiosName).getNameType();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NetbiosName.java

         *
         * @return the scope id
         */
        String getScope();
    
        /**
         * Returns the NetBIOS name type.
         *
         * @return the name type
         */
        int getNameType();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Name.java

         * @return scope id
         */
        @Override
        public String getScope() {
            return this.scope;
        }
    
        /**
         *
         * @return the name type
         */
        @Override
        public int getNameType() {
            return this.hexCode;
        }
    
        /**
         * Constructs a NetBIOS name with the specified parameters.
         *
         * @param cfg the configuration to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         *
         * @return the name type
         */
        int getNameType();
    
        /**
         * Gets the NetBIOS name associated with this address.
         *
         * @return the name for this address
         */
        NetbiosName getName();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top