Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 181 for listeners (0.37 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        pushObserver: PushObserver = IGNORE,
        listener: Http2Connection.Listener = Http2Connection.Listener.REFUSE_INCOMING_STREAMS,
      ): Http2Connection {
        val connection =
          Http2Connection
            .Builder(true, TaskRunner.INSTANCE)
            .socket(peer.openSocket().asBufferedSocket(), "peer")
            .pushObserver(pushObserver)
            .listener(listener)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            boolean shutdownListenerAdded = false;
    
            @Override
            public void addShutdownListener(ShutdownListener listener) {
                shutdownListenerAdded = true;
                // Optionally execute the listener to test its behavior
                listener.onShutdown();
            }
    
            @Override
            public Object execute(String scriptType, String script) {
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            JobExecutor mockJobExecutor = new JobExecutor() {
                @Override
                public void addShutdownListener(ShutdownListener listener) {
                    shutdownListeners.add(listener);
                }
    
                @Override
                public Object execute(String scriptType, String script) {
                    return null;
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. docs/en/docs/fastapi-cli.md

    ## `fastapi run` { #fastapi-run }
    
    Executing `fastapi run` starts FastAPI in production mode by default.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. cmd/tier.go

    	if config == nil {
    		return true
    	}
    	return len(config.ListTiers()) == 0
    }
    
    // TierType returns the type of tier
    func (config *TierConfigMgr) TierType(name string) string {
    	config.RLock()
    	defer config.RUnlock()
    
    	cfg, ok := config.Tiers[name]
    	if !ok {
    		return "internal"
    	}
    	return cfg.Type.String()
    }
    
    // ListTiers lists remote tiers configured in this deployment.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      /**
       * Value for [B1_MASK_LENGTH] which indicates the next eight bytes are the unsigned
       * length.
       */
      internal const val PAYLOAD_LONG = 127
    
      /** Used when an unchecked exception was thrown in a listener. */
      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         */
        public fun webSocketUpgrade(listener: WebSocketListener): Builder =
          apply {
            status = "HTTP/1.1 101 Switching Protocols"
            setHeader("Connection", "Upgrade")
            setHeader("Upgrade", "websocket")
            webSocketListener = listener
          }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      private val handshake: Handshake?,
      private val protocol: Protocol,
      private val socket: BufferedSocket,
      private val pingIntervalMillis: Int,
      internal val connectionListener: ConnectionListener,
    ) : Http2Connection.Listener(),
      Connection,
      ExchangeCodec.Carrier,
      Lockable {
      private var http2Connection: Http2Connection? = null
    
      // These properties are guarded by `this`.
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            private boolean hasShutdownListener = false;
    
            @Override
            public void addShutdownListener(ShutdownListener listener) {
                hasShutdownListener = true;
                super.addShutdownListener(listener);
            }
    
            @Override
            public Object execute(String scriptType, String script) {
                return null;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

      private val name: String,
    ) : WebSocketListener() {
      private val events = LinkedBlockingQueue<Any>()
      private var delegate: WebSocketListener? = null
    
      /** Sets a delegate for handling the next callback to this listener. Cleared after invoked.  */
      fun setNextEventDelegate(delegate: WebSocketListener?) {
        this.delegate = delegate
      }
    
      override fun onOpen(
        webSocket: WebSocket,
        response: Response,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top