Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for timeout (0.2 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

                throw new TransportException("Transport is disconnected " + this.name);
            }
            try {
                long timeout = !params.contains(RequestParam.NO_TIMEOUT) ? getResponseTimeout(request) : 0;
    
                long firstKey = doSend(request, response, params, timeout);
    
                if ( Thread.currentThread() == this.thread ) {
                    // we are in the transport thread, ie. on idle disconnecting
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean smbTcpNoDelay = false;
        protected int smbResponseTimeout = SmbConstants.DEFAULT_RESPONSE_TIMEOUT;
        protected int smbSocketTimeout = SmbConstants.DEFAULT_SO_TIMEOUT;
        protected int smbConnectionTimeout = SmbConstants.DEFAULT_CONN_TIMEOUT;
        protected int smbSessionTimeout = SmbConstants.DEFAULT_SO_TIMEOUT;
        protected boolean idleTimeoutDisabled = false;
        protected InetAddress smbLocalAddress;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

    synchronized (transport()) {
            if( response != null ) {
                response.received = false;
            }
    
            expiration = System.currentTimeMillis() + SmbTransport.SO_TIMEOUT;
            sessionSetup( request, response );
            if( response != null && response.received ) {
                return;
            }
    
            if (request instanceof SmbComTreeConnectAndX) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                                long timeout = RESPONSE_TIMEOUT;
                                resp.expiration = System.currentTimeMillis() + timeout;
                                while( resp.hasMoreElements() ) {
                                    wait( timeout );
                                    timeout = resp.expiration - System.currentTimeMillis();
                                    if (timeout <= 0) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

    
        /**
         * 
         * Property <tt>jcifs.smb.client.soTimeout</tt> (int, default 35000)
         * 
         * @return socket timeout, in milliseconds
         */
        int getSoTimeout ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.connTimeout</tt> (int, default 35000)
         * 
         * @return timeout for establishing a socket connection, in milliseconds
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    
        @Override
        public void setConnectTimeout ( int timeout ) {
            this.connection.setConnectTimeout(timeout);
        }
    
    
        @Override
        public int getReadTimeout () {
            return this.connection.getReadTimeout();
        }
    
    
        @Override
        public void setReadTimeout ( int timeout ) {
            this.connection.setReadTimeout(timeout);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private static final int SO_TIMEOUT = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT );
        private static final int RETRY_COUNT = Config.getInt( "jcifs.smb1.netbios.retryCount", DEFAULT_RETRY_COUNT );
        private static final int RETRY_TIMEOUT = Config.getInt( "jcifs.smb1.netbios.retryTimeout", DEFAULT_RETRY_TIMEOUT);
        private static final int LPORT = Config.getInt( "jcifs.smb1.netbios.lport", 0 );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TimeoutTest.java

                    long timeout = System.currentTimeMillis() - start;
                    assertTrue(
                        String.format(
                            "Timeout %d outside expected range (%f)",
                            timeout,
                            1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() )),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

            String name;
    
            Properties p = new Properties();
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            }
            return this.nextNameTrnId;
        }
    
    
        void ensureOpen ( int timeout ) throws IOException {
            this.closeTimeout = 0;
            if ( this.transportContext.getConfig().getNetbiosSoTimeout() != 0 ) {
                this.closeTimeout = Math.max(this.transportContext.getConfig().getNetbiosSoTimeout(), timeout);
            }
            // If socket is still good, the new closeTimeout will
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
Back to top