Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getWinsServers (0.12 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

         */
        protected InetAddress switchWINS() {
            this.nbnsIndex = this.nbnsIndex + 1 < this.transportContext.getConfig().getWinsServers().length ? this.nbnsIndex + 1 : 0;
            return this.transportContext.getConfig().getWinsServers().length == 0 ? null
                    : this.transportContext.getConfig().getWinsServers()[this.nbnsIndex];
        }
    
        static class Sem {
    
            Sem(final int count) {
                this.count = count;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(props);
    
            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.isUseRawNTLM();
                mockConfig.isDisablePlainTextPasswords();
                mockConfig.getResolveOrder();
                mockConfig.getBroadcastAddress();
                mockConfig.getWinsServers();
                mockConfig.getNetbiosLocalPort();
                mockConfig.getNetbiosLocalAddress();
                mockConfig.getNetbiosSoTimeout();
                mockConfig.getVcNumber();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNull(config.getLocalAddr());
            assertNull(config.getBroadcastAddress());
            assertNull(config.getResolveOrder());
            assertNotNull(config.getWinsServers());
            assertEquals(0, config.getWinsServers().length);
            assertEquals(0, config.getNetbiosLocalPort());
            assertNull(config.getNetbiosLocalAddress());
            assertEquals(5000, config.getNetbiosSoTimeout());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getBroadcastAddress();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getWinsServers()
         */
        @Override
        public InetAddress[] getWinsServers() {
            return this.delegate.getWinsServers();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getNetbiosLocalPort()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getWinsServers()).thenReturn(winsServers);
            when(mockDelegate.getLocalPort()).thenReturn(445);
    
            // When
            InetAddress resultLocalAddr = delegatingConfig.getLocalAddr();
            InetAddress resultBroadcastAddr = delegatingConfig.getBroadcastAddress();
            InetAddress[] resultWinsServers = delegatingConfig.getWinsServers();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosScope()).thenReturn(null);
            when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache
            when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
    
            // Create the name service client with mock context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

        InetAddress getBroadcastAddress();
    
        /**
         *
         *
         * Property {@code jcifs.netbios.wins} (string, comma separated)
         *
         * @return WINS server to use
         */
        InetAddress[] getWinsServers();
    
        /**
         *
         * Property {@code jcifs.netbios.lport} (int)
         *
         * @return local bind port for nebios connections
         */
        int getNetbiosLocalPort();
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

            return this.broadcastAddress;
        }
    
        @Override
        public List<ResolverType> getResolveOrder() {
            return this.resolverOrder;
        }
    
        @Override
        public InetAddress[] getWinsServers() {
            return this.winsServer;
        }
    
        @Override
        public int getNetbiosLocalPort() {
            return this.netbiosLocalPort;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top