Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createTransport (0.29 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            redistributePendingOperations(failedChannel);
    
            // Check if recovery is viable by testing if createTransport works
            // If createTransport returns null (no mock setup), remove immediately
            try {
                SmbTransport testTransport = manager.createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface());
                if (testTransport == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            assertEquals(0, failedChannel.getRequestsPending());
        }
    
        @Test
        void testRecoverySuccess() throws Exception {
            when(mockChannelManager.createTransport(any(), any())).thenReturn(mockNewTransport);
            doNothing().when(mockChannelManager).performChannelBinding(any());
    
            IOException error = new IOException("Connection failed");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

         * @param localInterface local interface
         * @param remoteInterface remote interface
         * @return created transport
         * @throws IOException if transport creation fails
         */
        public SmbTransport createTransport(NetworkInterfaceInfo localInterface, NetworkInterfaceInfo remoteInterface) throws IOException {
            // This would need to be implemented based on the actual SmbTransport constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. docs/smb3-features/03-multi-channel-design.md

            NetworkInterfaceInfo remoteIf = selectRemoteInterface(index);
            
            // Create transport for this channel
            SmbTransport transport = createTransport(localIf, remoteIf);
            
            // Create channel info
            String channelId = "channel-" + channelCounter.incrementAndGet();
            ChannelInfo channel = new ChannelInfo(channelId, transport, localIf, remoteIf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

            // Nothing to clean up for TCP
        }
    }
    ```
    
    ## 5. Integration with Existing Code
    
    ### 5.1 Transport Selection
    ```java
    // In SmbTransportPool.java
    public SmbTransport createTransport(CIFSContext context, 
                                       InetSocketAddress address) throws IOException {
        Configuration config = context.getConfig();
        
        if (config.isUseRDMA()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top