Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for logoff (0.46 sec)

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

                        if (this.connectionState.compareAndSet(1, 0)) {
                            // only try to logoff if we have not completed the session setup, ignore errors from chained
                            // responses
                            logoff(true, true);
                        }
                        throw se;
                    } finally {
                        trans.notifyAll();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Logoff response message. This response acknowledges the termination of an SMB2 session.
     *
     * @author mbechler
     *
     */
    public class Smb2LogoffResponse extends ServerMessageBlock2Response {
    
        /**
         * Constructs an SMB2 logoff response with the given configuration.
         *
         * @param config the configuration for this response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Logoff request message. This command is used to terminate an SMB2 session.
     *
     * @author mbechler
     *
     */
    public class Smb2LogoffRequest extends ServerMessageBlock2Request<Smb2LogoffResponse> {
    
        /**
         * Constructs an SMB2 logoff request with the given configuration.
         *
         * @param config the configuration for this request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    } while (state != 0);
                } catch (final SmbException se) {
                    logoff(true);
                    connectionState = 0;
                    throw se;
                } finally {
                    transport.notifyAll();
                }
            }
        }
    
        void logoff(final boolean inError) {
            synchronized (transport()) {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    public class SmbComLogoffAndX extends AndXServerMessageBlock {
    
        /**
         * Creates a new SMB1 logoff request to end a user session.
         *
         * @param config the CIFS configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacLogonInfo.java

            }
        }
    
        /**
         * Returns the user's logon time.
         * @return the logon timestamp
         */
        public Date getLogonTime() {
            return this.logonTime;
        }
    
        /**
         * Returns the user's logoff time.
         * @return the logoff timestamp
         */
        public Date getLogoffTime() {
            return this.logoffTime;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

        }
    }
    
    public DirectoryLeaseManager getDirectoryLeaseManager() {
        return directoryLeaseManager;
    }
    
    @Override
    public void logoff() throws IOException {
        if (directoryLeaseManager != null) {
            directoryLeaseManager.shutdown();
        }
        super.logoff();
    }
    ```
    
    ## 6. Configuration
    
    ### 6.1 Configuration Properties
    ```java
    // In PropertyConfiguration.java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
    
            /* logoff old sessions */
            if (SO_TIMEOUT > 0 && sessionExpiration < (now = System.currentTimeMillis())) {
                sessionExpiration = now + SO_TIMEOUT;
                iter = sessions.listIterator();
                while (iter.hasNext()) {
                    ssn = (SmbSession) iter.next();
                    if (ssn.expiration < now) {
                        ssn.logoff(false);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

        }
    }
    
    public PersistentHandleManager getHandleManager() {
        return handleManager;
    }
    
    @Override
    public void logoff() throws IOException {
        if (handleManager != null) {
            handleManager.shutdown();
        }
        // ... existing logoff logic ...
    }
    ```
    
    ## 7. Configuration
    
    ### 7.1 Configuration Properties
    ```java
    // In PropertyConfiguration.java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. docs/smb3-features/06-witness-protocol-design.md

                // Could fall back to original address
            }
        });
    }
    
    @Override
    public void logoff() throws IOException {
        if (witnessClient != null) {
            witnessClient.close();
        }
        super.logoff();
    }
    ```
    
    ### 5.2 Tree Connection Integration
    ```java
    // In SmbTree.java
    public void connectWithWitnessSupport() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top