Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for connections (0.06 sec)

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

            }
    
            // Close all connections without synchronization - concurrent collections are thread-safe
            connections.forEach(conn -> {
                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
                    log.debug("Error closing connection: {}", e.getMessage());
                }
            });
            connections.clear();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        @DisplayName("Should close all connections and return in-use status")
        void testCloseAllConnections() throws Exception {
            // Given: Create pooled and non-pooled connections
            SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false);
            SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true);
    
            // Use reflection to access concurrent collections
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         *
         * Property {@code jcifs.smb.client.lport} (int)
         *
         * @return local port to use for outgoing connections
         */
        int getLocalPort();
    
        /**
         *
         * Property {@code jcifs.smb.client.laddr} (string)
         *
         * @return local address to use for outgoing connections
         */
        InetAddress getLocalAddr();
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtStatus.java

                "The specified network name is no longer available.", "Network access is denied.", "Bad device type",
                "The network name cannot be found.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    // In a real implementation, this would handle RPC requests
                    // For the mock, we just accept connections and close them
                    clientSocket.close();
                } catch (IOException e) {
                    if (running.get()) {
                        log.debug("Error accepting client connection", e);
                    }
                }
            }
        }
    
        @Override
        public void close() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

        protected int smbSessionTimeout = SmbConstants.DEFAULT_SO_TIMEOUT;
        /** Whether idle timeout is disabled for connections */
        protected boolean idleTimeoutDisabled = false;
        /** Local address to bind for SMB connections */
        protected InetAddress smbLocalAddress;
        /** Local port to bind for SMB connections */
        protected int smbLocalPort = 0;
        /** Maximum multiplex count for concurrent requests */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    /**
     * SMB3 Multi-Channel Manager.
     *
     * Manages multiple network connections for improved performance and redundancy
     * as specified in the SMB 3.x multi-channel feature.
     */
    public class MultiChannelManager {
    
        private static final Logger log = LoggerFactory.getLogger(MultiChannelManager.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtStatus.java

                "The specified network name is no longer available.", "Network access is denied.", "The network name cannot be found.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/LoadBalancingStrategy.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.multichannel;
    
    /**
     * Load balancing strategies for multi-channel connections
     */
    public enum LoadBalancingStrategy {
        /**
         * Round-robin selection through available channels
         */
        ROUND_ROBIN,
    
        /**
         * Select the least busy channel based on pending operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        }
    
        /**
         * Get total number of connections created
         *
         * @return connection count
         */
        public long getConnectionsCreated() {
            return connectionsCreated.get();
        }
    
        /**
         * Get number of currently active connections
         *
         * @return active connection count
         */
        public long getConnectionsActive() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top