Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addChannel (0.4 sec)

  1. docs/smb3-features/03-multi-channel-design.md

        // Add test channels
        ChannelInfo channel1 = createTestChannel("channel1", 1000);  // 1Gbps
        ChannelInfo channel2 = createTestChannel("channel2", 10000); // 10Gbps
        
        manager.addChannel(channel1);
        manager.addChannel(channel2);
        
        // Test load balancer selection
        ChannelLoadBalancer balancer = new ChannelLoadBalancer(manager);
        
        // Large transfer should prefer high-bandwidth channel
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

            public String getSessionId() {
                return sessionId;
            }
    
            public List<ChannelInfo> getChannels() {
                return new ArrayList<>(channels);
            }
    
            public void addChannel(ChannelInfo channel) {
                channels.add(channel);
                if (primaryChannel == null) {
                    primaryChannel = channel;
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top