Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for doDisconnect (0.29 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

            return delegate.hasCapability(cap);
        }
    
        @Override
        public boolean isDisconnected() {
            return delegate.isDisconnected();
        }
    
        @Override
        public boolean disconnect(boolean hard, boolean inuse) throws IOException {
            synchronized (connectionLock) {
                if (rdmaConnection != null) {
                    try {
                        rdmaConnection.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Disconnect response message.
     *
     * This response confirms that the tree connection
     * has been successfully disconnected.
     *
     * @author mbechler
     */
    public class Smb2TreeDisconnectResponse extends ServerMessageBlock2Response {
    
        /**
         * Creates a new SMB2 tree disconnect response.
         *
         * @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.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        }
    
        /**
         * Test that disconnect() calls disconnect() on the underlying connection and resets state.
         */
        @Test
        void testDisconnect() throws Exception {
            // Act
            ntlmConnection.disconnect();
    
            // Assert
            verify(mockConnection).disconnect();
            // Connection should be closed after disconnect
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
                    log.debug("Error closing connection: {}", e.getMessage());
                }
            });
            connections.clear();
    
            nonPooledConnections.forEach(conn -> {
                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            }
            ftpAuthenticationHolder = null;
            for (final FTPClient ftpClient : ftpClientQueue) {
                try {
                    ftpClient.disconnect();
                } catch (final IOException e) {
                    logger.debug("Failed to disconnect FTPClient.", e);
                }
            }
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                         */
                        try {
                            log.warn("Exception during SSP authentication", se);
                            trans.disconnect(true);
                        } catch (IOException ioe) {
                            log.debug("Disconnect failed");
                        }
                        setUid(0);
                        throw se;
                    }
    
                    if (token != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        private void attemptRecovery(ChannelInfo channel, FailoverState state) {
            try {
                log.info("Attempting to recover channel {}", channel.getChannelId());
    
                // Disconnect existing transport
                SmbTransport oldTransport = channel.getTransport();
                if (oldTransport != null) {
                    try {
                        oldTransport.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                     * sent. Unfortunately calling disconnect() doesn't always
                                     * actually shutdown the connection before other threads
                                     * have committed themselves (e.g. InterruptTest example).
                                     */
                                    try {
                                        transport.disconnect(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

     * It releases the tree ID and terminates access to the share.
     */
    public class SmbComTreeDisconnect extends ServerMessageBlock {
    
        /**
         * Constructs a tree disconnect request to close a connection to a shared resource.
         *
         * @param config the configuration to use
         */
        public SmbComTreeDisconnect(final Configuration config) {
            super(config, SMB_COM_TREE_DISCONNECT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            }
    
            // Request/response reset should happen on retry
            verify(req, atLeastOnce()).reset();
            verify(resp, atLeastOnce()).reset();
            // Verify disconnect was called on retry
            verify(c, atLeastOnce()).disconnect(eq(true));
        }
    
        @Test
        @DisplayName("send honors NO_RETRY and propagates error immediately")
        void send_noRetry_param() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top