Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getNetbiosSoTimeout (0.76 sec)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Configure mock context with fast timeouts
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            // Setup configuration with minimal timeouts for fast testing
            when(mockConfig.getNetbiosSoTimeout()).thenReturn(100); // Very short timeout
            when(mockConfig.getNetbiosRetryTimeout()).thenReturn(50); // Very short retry
            when(mockConfig.getNetbiosRetryCount()).thenReturn(1); // Single retry only
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getBroadcastAddress();
                mockConfig.getWinsServers();
                mockConfig.getNetbiosLocalPort();
                mockConfig.getNetbiosLocalAddress();
                mockConfig.getNetbiosSoTimeout();
                mockConfig.getVcNumber();
                mockConfig.getCapabilities();
                mockConfig.getFlags2();
                mockConfig.getSessionLimit();
                mockConfig.getOemEncoding();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getNetbiosScope();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getNetbiosSoTimeout()
         */
        @Override
        public int getNetbiosSoTimeout() {
            return this.delegate.getNetbiosSoTimeout();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getNetbiosSndBufSize()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Note: getNativeCharset() is not available in the Configuration interface
            // Test a different configuration property instead
            assertTrue(testConfig.getNetbiosSoTimeout() > 0);
        }
    
        @Test
        @DisplayName("Should handle network properties")
        void testNetworkProperties() throws CIFSException {
            // Given
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
        void ensureOpen(final int timeout) throws IOException {
            this.closeTimeout = 0;
            if (this.transportContext.getConfig().getNetbiosSoTimeout() != 0) {
                this.closeTimeout = Math.max(this.transportContext.getConfig().getNetbiosSoTimeout(), timeout);
            }
            // If socket is still good, the new closeTimeout will
            // be ignored; see tryClose comment.
            if (this.socket == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(0, config.getWinsServers().length);
            assertEquals(0, config.getNetbiosLocalPort());
            assertNull(config.getNetbiosLocalAddress());
            assertEquals(5000, config.getNetbiosSoTimeout());
            assertNull(config.getNetbiosScope());
            assertEquals(60 * 60 * 10, config.getNetbiosCachePolicy());
            assertEquals(576, config.getNetbiosRcvBufSize());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

        /**
         *
         *
         * Property {@code jcifs.netbios.soTimeout} (int, default 5000)
         *
         * @return socket timeout for netbios connections, in milliseconds
         */
        int getNetbiosSoTimeout();
    
        /**
         * Gets the virtual circuit number for SMB connections
         *
         * @return virtual circuit number to use
         */
        int getVcNumber();
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

            return this.netbiosLocalPort;
        }
    
        @Override
        public InetAddress getNetbiosLocalAddress() {
            return this.netbiosLocalAddress;
        }
    
        @Override
        public int getNetbiosSoTimeout() {
            return this.netbiosSocketTimeout;
        }
    
        @Override
        public String getNetbiosScope() {
            return this.netbiosScope;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top