Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setExpiration (0.08 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

                    long timeout = getResponseTimeout(req);
                    if ( !params.contains(RequestParam.NO_TIMEOUT) ) {
                        resp.setExpiration(System.currentTimeMillis() + timeout);
                    }
                    else {
                        resp.setExpiration(null);
                    }
    
                    byte[] txbuf = getContext().getBufferCache().getBuffer();
                    resp.setBuffer(txbuf);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

         * @return this session's UID
         */
        public int getUid () {
            return this.uid;
        }
    
    
        /**
         * @return this session's expiration time
         */
        public Long getExpiration () {
            return this.expiration > 0 ? this.expiration : null;
        }
    
    
        /**
         * @return this session's credentials
         */
        public CredentialsInternal getCredentials () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
Back to top