Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isInUse (0.04 sec)

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

    import jcifs.SmbTree;
    
    
    /**
     * @author mbechler
     * @internal
     */
    public interface SmbSessionInternal extends SmbSession {
    
        /**
         * @return whether the session is in use
         */
        boolean isInUse ();
    
    
        /**
         * @return the current session key
         * @throws CIFSException
         */
        byte[] getSessionKey () throws CIFSException;
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        public final String getTargetHost () {
            return this.targetHost;
        }
    
    
        /**
         * @return whether the session is in use
         */
        @Override
        public boolean isInUse () {
            return this.usageCount.get() > 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbSession#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                iter = this.sessions.listIterator();
                while ( iter.hasNext() ) {
                    SmbSessionImpl ssn = iter.next();
                    if ( ssn.getExpiration() != null && ssn.getExpiration() < now && !ssn.isInUse() ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Closing session after timeout " + ssn);
                        }
                        ssn.logoff(false, false);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top