Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getConnTimeout (0.06 sec)

  1. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getResponseTimeout();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getConnTimeout()
         */
        @Override
        public int getConnTimeout() {
            return this.delegate.getConnTimeout();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getSessionTimeout()
         */
        @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)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                }
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
                this.out = this.socket.getOutputStream();
                this.in = this.socket.getInputStream();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

        @Test
        @DisplayName("Test network configuration getters")
        void testNetworkConfigurationGetters() {
            assertEquals(0, config.getLocalPort());
            assertEquals(SmbConstants.DEFAULT_CONN_TIMEOUT, config.getConnTimeout());
            assertEquals(SmbConstants.DEFAULT_RESPONSE_TIMEOUT, config.getResponseTimeout());
            assertEquals(SmbConstants.DEFAULT_SO_TIMEOUT, config.getSoTimeout());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.connTimeout} (int, default 35000)
         *
         * @return timeout for establishing a socket connection, in milliseconds
         */
        int getConnTimeout();
    
        /**
         * Property {@code jcifs.smb.client.sessionTimeout} (int, default 35000)
         *
         *
         * @return timeout for SMB sessions, in milliseconds
         */
        int getSessionTimeout();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

            return this.smbLocalAddress;
        }
    
        @Override
        public int getLocalPort() {
            return this.smbLocalPort;
        }
    
        @Override
        public int getConnTimeout() {
            return this.smbConnectionTimeout;
        }
    
        @Override
        public int getResponseTimeout() {
            return this.smbResponseTimeout;
        }
    
        @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)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

            CompletableFuture.delayedExecutor(delayMs, TimeUnit.MILLISECONDS).execute(() -> {
                try {
                    transport.disconnect(true);
                    transport.connect(getConfig().getConnTimeout()); // Reconnect
                    log.info("Successfully reconnected after witness notification");
                } catch (Exception e) {
                    log.error("Failed to reconnect after witness notification", e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top