Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for firstCalledName (0.17 sec)

  1. src/test/java/jcifs/AddressTest.java

        }
    
        @Test
        @DisplayName("firstCalledName should return valid name for session establishment")
        void testFirstCalledNameContract() {
            // Given
            String expectedFirstName = "SERVER";
            when(mockAddress.firstCalledName()).thenReturn(expectedFirstName);
    
            // When
            String firstName = mockAddress.firstCalledName();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Address.java

        /**
         * Guess called name to try for session establishment. These
         * methods are used by the smb package.
         *
         * @return guessed name
         */
        String firstCalledName();
    
        /**
         * Guess next called name to try for session establishment. These
         * methods are used by the smb package.
         *
         * @param tc the transport context to use for name resolution
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

         * method is used exclusively by the <code>jcifs.smb</code> package.
         *
         * @return the guessed name
         */
        @Override
        public String firstCalledName() {
            if (this.addr instanceof NbtAddress) {
                return ((NbtAddress) this.addr).firstCalledName();
            }
    
            this.calledName = ((InetAddress) this.addr).getHostName();
            if (isDotQuadIP(this.calledName)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top