Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setSoTimeout (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                socket.setSoTimeout( SO_TIMEOUT );
    */
    
                socket = new Socket();
                if (localAddr != null)
                    socket.bind(new InetSocketAddress(localAddr, localPort));
                socket.connect(new InetSocketAddress(address.getHostAddress(), 139), CONN_TIMEOUT);
                socket.setSoTimeout( SO_TIMEOUT );
    
                out = socket.getOutputStream();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            this.url = url;
        }
    
        public void setConnectionTimeout(final Integer connectionTimeout) {
            this.connectionTimeout = connectionTimeout;
        }
    
        public void setSoTimeout(final Integer soTimeout) {
            this.soTimeout = soTimeout;
        }
    
        public void setAuthSchemeProviderMap(final Map<String, AuthSchemeProvider> authSchemeProviderMap) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                SessionServicePacket ssp0 = new SessionRequestPacket( calledName, NbtAddress.localhost.hostName );
                out.write( buffer, 0, ssp0.writeWireFormat( buffer, 0 ));
    
                setSoTimeout( soTimeout );
                type = ssp0.readPacketType( in, buffer, 0 );
            } catch( IOException ioe ) {
                close();
                throw ioe;
            }
    
            switch( type ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      @Throws(SocketException::class)
      override fun setSoLinger(
        on: Boolean,
        timeout: Int,
      ) {
        delegate!!.setSoLinger(on, timeout)
      }
    
      @Throws(SocketException::class)
      override fun setSoTimeout(timeout: Int) {
        delegate!!.soTimeout = timeout
      }
    
      @Throws(SocketException::class)
      override fun setTcpNoDelay(on: Boolean) {
        delegate!!.tcpNoDelay = on
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
                    throw new IOException("transport closed in negotiate");
            }
            finally {
                this.socket.setSoTimeout(this.transportContext.getConfig().getSoTimeout());
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         *
         * The read timeout is applied to both the TCP socket and for individual read IO operations
         * including on [Source] of the [Response]. The default value is 10 seconds.
         *
         * @see Socket.setSoTimeout
         * @see Source.timeout
         */
        fun readTimeout(
          timeout: Long,
          unit: TimeUnit,
        ) = apply {
          readTimeout = checkDuration("timeout", timeout, unit)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            int nameTrnId;
            NameServicePacket response;
    
            try {
                while( thread == Thread.currentThread() ) {
                    in.setLength( RCV_BUF_SIZE );
    
                    socket.setSoTimeout( closeTimeout );
                    socket.receive( in );
    
                    if( log.level > 3 )
                        log.println( "NetBIOS: new data read from socket" );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            try {
                while ( this.thread == Thread.currentThread() ) {
                    this.in.setLength(this.transportContext.getConfig().getNetbiosRcvBufSize());
    
                    this.socket.setSoTimeout(this.closeTimeout);
                    this.socket.receive(this.in);
    
                    log.trace("NetBIOS: new data read from socket");
    
                    int nameTrnId = NameServicePacket.readNameTrnId(this.rcv_buf, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        }
    
        public void setMaxConnectionsPerRoute(final Integer maxConnectionsPerRoute) {
            this.maxConnectionsPerRoute = maxConnectionsPerRoute;
        }
    
        public void setSoTimeout(final Integer soTimeout) {
            this.soTimeout = soTimeout;
        }
    
        public void setCookieSpec(final String cookieSpec) {
            this.cookieSpec = cookieSpec;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top