Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for timeout (0.17 sec)

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

        static final int DEFAULT_MAX_MPX_COUNT = 10;
        static final int DEFAULT_RESPONSE_TIMEOUT = 30000;
        static final int DEFAULT_SO_TIMEOUT = 35000;
        static final int DEFAULT_RCV_BUF_SIZE = 60416;
        static final int DEFAULT_SND_BUF_SIZE = 16644;
        static final int DEFAULT_SSN_LIMIT = 250;
        static final int DEFAULT_CONN_TIMEOUT = 35000;
    
        static final InetAddress LADDR = Config.getLocalHost();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/WatchTest.java

                    cr.createNewFile();
                    assertNotified(w, FileNotifyInformation.FILE_ACTION_ADDED, "created", null);
                }
            }
            catch ( TimeoutException e ) {
                log.info("Timeout waiting", e);
                fail("Did not recieve notification");
            }
        }
    
    
        @Test
        public void testWatchModified () throws InterruptedException, ExecutionException, IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        private final boolean permanent;
    
        private long startTime;
    
        private int status = ACTIVE;
    
        TimeoutTask(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) {
            this.timeoutTarget = timeoutTarget;
            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * 期限切れかどうかを返します。
         *
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

    
    /**
     * @author mbechler
     *
     */
    public class SmbComLockingAndX extends AndXServerMessageBlock {
    
        private int fid;
        private byte typeOfLock;
        private byte newOpLockLevel;
        private long timeout;
        private LockingAndXRange[] locks;
        private LockingAndXRange[] unlocks;
        private boolean largeFile;
    
    
        /**
         * @param config
         */
        public SmbComLockingAndX ( Configuration config ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  5. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

                } catch( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = msg != null && msg.equals( "Read timed out" );
                    /* If just a timeout, try to disconnect gracefully
                     */
                    boolean hard = timeout == false;
    
                    if (!timeout && log.level >= 3)
                        ex.printStackTrace( log );
    
                    try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/OplockTests.java

                    try {
                        tree.send(create2);
                    }
                    catch ( Exception e ) {
                        // timeout is expected for now as we do not ack the break
                        if ( ! ( e.getCause() instanceof RequestTimeoutException ) ) {
                            throw e;
                        }
                    }
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/RequestParam.java

     * 
     * @author mbechler
     * @internal
     */
    public enum RequestParam {
    
        /**
         * 
         */
        NONE,
    
        /**
         * Wait indefinitely for a response
         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    
        /**
         * Save the raw payload for further inspection
         */
        RETAIN_PAYLOAD
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransWaitNamedPipe.java

    class TransWaitNamedPipe extends SmbComTransaction {
    
        TransWaitNamedPipe( String pipeName ) {
            name = pipeName;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_WAIT_NAMED_PIPE;
            timeout = 0xFFFFFFFF;
            maxParameterCount = 0;
            maxDataCount = 0;
            maxSetupCount = (byte)0x00;
            setupCount = 2;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  10. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
Back to top