Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setExpiration (0.51 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);
                    }
    
                    final byte[] txbuf = getContext().getBufferCache().getBuffer();
                    resp.setBuffer(txbuf);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top