Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Disconnected (0.18 sec)

  1. 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());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

        class StateManagementTests {
    
            @Test
            @DisplayName("should correctly identify disconnected states")
            void shouldIdentifyDisconnectedStates() {
                // States: 0=not connected, 1=connecting, 2=run connected, 3=connected,
                // 4=error, 5=disconnecting, 6=disconnected/invalid
                int[] disconnectedStates = { 0, 4, 5, 6 };
                int[] connectedStates = { 1, 2, 3 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    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.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @throws SmbException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws SmbException;
    
        /**
         * Checks if the transport has been disconnected.
         *
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected();
    
        /**
         * Disconnects the transport from the remote server.
         *
         * @param hard if true, force immediate disconnection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTreeHandleTest.java

        }
    
        /**
         * Test for isConnected() method.
         * Verifies that the method returns the correct connected status.
         */
        @Test
        void testIsConnected() {
            when(smbTreeHandle.isConnected()).thenReturn(true);
            assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true");
            when(smbTreeHandle.isConnected()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        }
      }
    
      public void testOverlapRejection() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            boolean expectRejection =
                range1.isConnected(range2) && !range1.intersection(range2).isEmpty();
            ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
            builder.put(range1, 1).put(range2, 2);
            try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top