Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for disconnected (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            when(mockTransport.isDisconnected()).thenReturn(true);
            when(mockTransport.toString()).thenReturn("MockTransport");
    
            try (RdmaTransport transport = new RdmaTransport(mockTransport, testContext)) {
                assertNotNull(transport, "Transport should not be null");
                assertTrue(transport.isDisconnected(), "Transport should be disconnected initially");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

    public abstract class RdmaConnection implements AutoCloseable {
    
        /**
         * RDMA connection state enumeration
         */
        public enum RdmaConnectionState {
            /** Connection is not established */
            DISCONNECTED,
            /** Connection is being established */
            CONNECTING,
            /** Connection is established but not ready for RDMA operations */
            CONNECTED,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            nonPooledConnections.offer(nonPooledSpy);
    
            // Mock disconnect behavior
            when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use
            when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use
    
            // When: Close the pool
            boolean inUse = pool.close();
    
            // Then: Should report in-use and call disconnect on all
            assertTrue(inUse, "Should report connections in use");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java

     */
    package jcifs.internal.smb2.multichannel;
    
    /**
     * SMB3 Multi-Channel connection states
     */
    public enum ChannelState {
        /**
         * Channel is not connected
         */
        DISCONNECTED(0),
    
        /**
         * Connection establishment in progress
         */
        CONNECTING(1),
    
        /**
         * Authentication in progress
         */
        AUTHENTICATING(2),
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertThrows(SmbException.class, () -> tree.treeConnect(null, null));
            // After failure, state should be reset to disconnected
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testSend() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "A:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

     * named pipe without actually removing the data from the pipe.
     */
    public class TransPeekNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
         * Named pipe status indicating the pipe is disconnected.
         */
        public static final int STATUS_DISCONNECTED = 1;
    
        /**
         * Named pipe status indicating the pipe is listening for connections.
         */
        public static final int STATUS_LISTENING = 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

                throw new IOException("Timeout waiting for RDMA send credit");
            }
        }
        
        @Override
        public void disconnect() throws IOException {
            try {
                rdmaConnection.close();
            } finally {
                bufferManager.cleanup();
                super.disconnect();
            }
        }
        
        public RdmaProvider getProvider() {
            return provider;
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. docs/features/calls.md

    ## Retrying Requests
    
    Sometimes connections fail: either a pooled connection was stale and disconnected, or the webserver itself couldn’t be reached. OkHttp will retry the request with a different route if one is available.
    
    ## [Calls](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-call/)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    			result.Concurrent = concurrency
    
    			select {
    			case ch <- result:
    			case <-ctx.Done():
    				return
    			}
    		}
    
    		for {
    			select {
    			case <-ctx.Done():
    				// If the client got disconnected stop the speedtest.
    				return
    			default:
    			}
    
    			sopts := speedTestOpts{
    				objectSize:      opts.objectSize,
    				concurrency:     concurrency,
    				duration:        opts.duration,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top