Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 376 for reconnect (0.12 seconds)

  1. internal/grid/msg.go

    // Op is operation type messages.
    type Op uint8
    
    // HandlerID is the ID for the handler of a specific type.
    type HandlerID uint8
    
    const (
    	// OpConnect is a connect request.
    	OpConnect Op = iota + 1
    
    	// OpConnectResponse is a response to a connect request.
    	OpConnectResponse
    
    	// OpPing is a ping request.
    	// If a mux id is specified that mux is pinged.
    	// Clients send ping requests.
    	OpPing
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jul 25 21:07:21 GMT 2024
    - 7.6K bytes
    - Click Count (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 {
            /*
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  3. internal/grid/manager.go

    	if err != nil {
    		writeErr(fmt.Errorf("reading connect: %w", err))
    		return
    	}
    	if debugPrint {
    		fmt.Printf("%s handler: Got message, length %v\n", m.local, len(msg))
    	}
    
    	var message message
    	_, _, err = message.parse(msg)
    	if err != nil {
    		writeErr(fmt.Errorf("error parsing grid connect: %w", err))
    		return
    	}
    	if message.Op != OpConnect {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 12 20:41:41 GMT 2024
    - 10.8K bytes
    - Click Count (0)
  4. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

      }
    
      class DelayingSocketFactory(
        val onConnect: Socket.(timeout: Int) -> Unit = {},
        val onRead: Socket.() -> Unit = {},
        val onWrite: Socket.() -> Unit = {},
      ) : DelegatingSocketFactory(getDefault()) {
        override fun createSocket(): Socket {
          return object : Socket() {
            override fun connect(
              endpoint: SocketAddress?,
              timeout: Int,
            ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (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.
         *
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/server-sent-events.md

    `data` e `raw_data` são mutuamente exclusivos. Você só pode definir um deles em cada `ServerSentEvent`.
    
    ///
    
    ## Retomando com `Last-Event-ID` { #resuming-with-last-event-id }
    
    Quando um navegador se reconecta após uma queda na conexão, ele envia o último `id` recebido no cabeçalho `Last-Event-ID`.
    
    Você pode lê-lo como um parâmetro de cabeçalho e usá-lo para retomar o stream de onde o cliente parou:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. 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();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        plan1.tcpConnectDelayNanos = 10.ms // Connect at time = 260 ms.
        plan1.tlsConnectDelayNanos = 10.ms // Connect at time = 270 ms.
        plan1.tlsConnectThrowable = IOException("boom!")
    
        val plan2 = plan1.createConnectTlsNextPlan()
        plan2.tcpConnectDelayNanos = 270.ms // Connect at time = 540 ms.
    
        val plan3 = plan0.createRetry()
        plan3.tcpConnectDelayNanos = 10.ms // Connect at time = 530 ms.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  10. 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);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
Back to Top