Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 26 of 26 for DISCONNECTED (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/Configuration.java

         *
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         *
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                try {
                    // Check if connection has been idle too long
                    // Note: getLastUseTime() method would need to be added to SmbTransportImpl
                    // For now, we'll use a simple disconnected check
                    if (transport.isDisconnected()) {
                        idle.add(transport);
                        log.debug("Removing idle connection: {}", transport);
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(ChannelState.DISCONNECTED, channelInfo.getState());
            assertFalse(channelInfo.isPrimary());
            assertEquals(0, channelInfo.getBytesSent());
            assertEquals(0, channelInfo.getBytesReceived());
        }
    
        @Test
        void testStateTransitions() {
            assertEquals(ChannelState.DISCONNECTED, channelInfo.getState());
            assertFalse(channelInfo.isHealthy());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                                        this.transport.disconnect(true);
                                    } catch (IOException e1) {
                                        log.warn("Got NT_STATUS_USER_SESSION_DELETED, disconnected transport with error", e1);
                                    }
                                }
                                log.debug("Session expired, trying reauth", e);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            this.channelId = channelId;
            this.transport = transport;
            this.localInterface = localInterface;
            this.remoteInterface = remoteInterface;
            this.state = ChannelState.DISCONNECTED;
            this.establishedTime = System.currentTimeMillis();
            this.lastActivityTime = establishedTime;
    
            this.bytesSent = new AtomicLong();
            this.bytesReceived = new AtomicLong();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        @Override
        public void connect() throws IOException {
            if (isConnected() && tree.session.transport.tconHostName == null) {
                /* Tree thinks it is connected but transport disconnected
                 * under it, reset tree to reflect the truth.
                 */
                tree.treeDisconnect(true);
            }
    
            if (isConnected()) {
                return;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top