Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 280 for reconnect (0.04 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

        class ConnectionLifecycleTests {
    
            @Test
            @DisplayName("connect should return true if already connected")
            void shouldReturnTrueIfAlreadyConnected() throws TransportException {
                transport.setState(3); // Connected
                assertTrue(transport.connect(1000));
            }
    
            @Test
            @DisplayName("connect should throw TransportException on connection failure")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

         * @throws SmbException if the connection fails
         */
        public void connect() throws SmbException {
            try {
                super.connect(RESPONSE_TIMEOUT);
            } catch (final TransportException te) {
                throw new SmbException("Failed to connect: " + address, te);
            }
        }
    
        @Override
        protected void doConnect() throws IOException {
            /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        void connect0() throws SmbException {
            try {
                connect();
            } catch (final SmbException se) {
                throw se;
            } catch (final IOException ioe) {
                throw new SmbException("Failed to connect to server", ioe);
            }
        }
    
        void doConnect() throws IOException {
            SmbTransport trans;
            UniAddress addr = getAddress();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.18.md

      After the connection closed(received GOAWAY), the client's other in-flight requests won't be affected, and the client will reconnect. 
      The flag min value is 0 (off), max is .02 (1/50 requests); .001 (1/1000) is a recommended starting point.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                onConnectListenerList.forEach(l -> {
                    try {
                        l.onConnect();
                    } catch (final Exception e) {
                        logger.warn("Failed to invoke " + l, e);
                    }
                });
    
                connected = true;
            } else {
                logger.warn("Could not connect to {}", address);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * Sets the connection builder for customizing the connection.
         *
         * @param connectionBuilder the connection builder
         * @return this CurlRequest instance
         */
        public CurlRequest onConnect(final BiConsumer<CurlRequest, HttpURLConnection> connectionBuilder) {
            this.connectionBuilder = connectionBuilder;
            return this;
        }
    
        /**
         * Adds a request parameter.
         *
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

     */
    public class HandleReconnectorTest {
    
        @Mock
        private PersistentHandleManager mockManager;
    
        private HandleReconnector reconnector;
        private HandleInfo testHandle;
    
        @BeforeEach
        public void setUp() {
            MockitoAnnotations.openMocks(this);
            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
        }
    
        /**
         * Connect the transport
         *
         * @throws SmbException
         */
        @Override
        public boolean ensureConnected() throws SmbException {
            try {
                return super.connect(this.transportContext.getConfig().getResponseTimeout());
            } catch (final TransportException te) {
                throw new SmbException("Failed to connect: " + this.address, te);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        protected static final String OIC_REDIRECT_URL = "oic.redirect.url";
    
        /** Configuration key for OpenID Connect token server URL. */
        protected static final String OIC_TOKEN_SERVER_URL = "oic.token.server.url";
    
        /** Configuration key for OpenID Connect client secret. */
        protected static final String OIC_CLIENT_SECRET = "oic.client.secret";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            dcerpcBinding.setOption("endpoint", endpoint);
            dcerpcBinding.setOption("connect", "80");
            String result = dcerpcBinding.toString();
            assertTrue(result.startsWith(PROTO + ":" + SERVER + "[" + endpoint + ","), "toString should start correctly with endpoint.");
            assertTrue(result.contains("connect=80"), "toString should contain connect option.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top