Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for ESTABLISHED (1.93 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

    import java.util.Vector;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.util.LogStream;
    
    /**
     * The SmbSession class represents an SMB session established with a server.
     * It provides methods for authentication and session management.
     */
    public final class SmbSession {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            failedChannel = new ChannelInfo("failed-channel", mockTransport, localInterface, remoteInterface);
            failedChannel.setState(ChannelState.ESTABLISHED);
    
            when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer);
        }
    
        @Test
        void testHandleFailure() {
            IOException error = new IOException("Connection failed");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // Perform channel binding
            performChannelBinding(channel);
    
            // Add to active channels
            channels.put(channelId, channel);
            channel.setState(ChannelState.ESTABLISHED);
    
            log.info("Established channel {} using {}:{} -> {}:{}", channelId, localIf.getAddress(), remoteIf.getAddress());
        }
    
        private NetworkInterfaceInfo selectLocalInterface(int index) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                    rdmaConnection =
                            rdmaProvider.connect(delegate.getRemoteAddress().getHostAddress(), delegate.getContext().getConfig().getRdmaPort());
                    log.info("RDMA connection established to {}", delegate.getRemoteAddress());
                } catch (IOException e) {
                    log.warn("Failed to establish RDMA connection: {}", e.getMessage());
                    throw e;
                }
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         */
        @Test
        void testConnect() throws Exception {
            // Act
            ntlmConnection.connect();
    
            // Assert
            verify(mockConnection).connect();
            // Connection should be established after connect
        }
    
        /**
         * Test that disconnect() calls disconnect() on the underlying connection and resets state.
         */
        @Test
        void testDisconnect() throws Exception {
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            Type2Message type2Message = new Type2Message(type2Flags, serverChallenge, domain);
            byte[] type2Token = type2Message.toByteArray();
    
            context.initSecContext(type2Token, 0, type2Token.length); // state -> 3 (established)
    
            // Try to call again
            SmbException e = assertThrows(SmbException.class, () -> {
                context.initSecContext(new byte[0], 0, 0);
            });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

                }
                return this.handle;
            }
    
            log.trace("File already open");
            return this.handle.acquire();
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle
         * @throws CIFSException if an error occurs connecting to the tree
         */
        protected SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top