Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetKeepAlive (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      @Throws(SocketException::class)
      override fun getTcpNoDelay(): Boolean {
        return delegate!!.tcpNoDelay
      }
    
      @Throws(SocketException::class)
      override fun setKeepAlive(keepAlive: Boolean) {
        delegate!!.keepAlive = keepAlive
      }
    
      @Throws(SocketException::class)
      override fun setSendBufferSize(size: Int) {
        delegate!!.sendBufferSize = size
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. internal/event/target/mqtt.go

    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    		SetCleanSession(true).
    		SetUsername(args.User).
    		SetPassword(args.Password).
    		SetMaxReconnectInterval(args.MaxReconnectInterval).
    		SetKeepAlive(args.KeepAlive).
    		SetTLSConfig(&tls.Config{RootCAs: args.RootCAs}).
    		AddBroker(args.Broker.String())
    
    	target.client = mqtt.NewClient(options)
    
    	token := target.client.Connect()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top