Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setLinkSpeed (0.07 seconds)

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

         */
        public int getLinkSpeed() {
            return linkSpeed;
        }
    
        /**
         * Set link speed in Mbps
         *
         * @param linkSpeed link speed
         */
        public void setLinkSpeed(int linkSpeed) {
            this.linkSpeed = linkSpeed;
        }
    
        /**
         * Get the IP address
         *
         * @return IP address
         */
        public InetAddress getAddress() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            NetworkInterfaceInfo nic = new NetworkInterfaceInfo(address, 1);
    
            nic.setInterfaceIndex(1);
            nic.setCapability(Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS);
            nic.setLinkSpeed(10000);
    
            // Verify properties
            assertEquals(1, nic.getInterfaceIndex());
            assertEquals(10000, nic.getLinkSpeed());
            assertTrue(nic.isRssCapable());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top