- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getNetbiosScope (0.08 sec)
-
src/test/java/jcifs/ConfigurationTest.java
mockConfig.isSigningEnforced(); mockConfig.isEncryptionEnabled(); mockConfig.isForceExtendedSecurity(); mockConfig.getLmHostsFileName(); mockConfig.getNetbiosScope(); mockConfig.getNetbiosSndBufSize(); mockConfig.getNetbiosRcvBufSize(); mockConfig.getNetbiosRetryTimeout(); mockConfig.getNetbiosRetryCount();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getLmHostsFileName(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getNetbiosScope() */ @Override public String getNetbiosScope() { return this.delegate.getNetbiosScope(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getNetbiosSoTimeout() */ @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) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_DNS)); // Only DNS, no broadcast when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockConfig.getNetbiosScope()).thenReturn(null); when(mockConfig.getNetbiosCachePolicy()).thenReturn(30); // Short cache when(mockConfig.getWinsServers()).thenReturn(new InetAddress[0]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
@Mock private NetbiosName mockCalledName; @Mock private NetbiosName mockCallingName; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNetbiosScope()).thenReturn(null); // Configure OEM encoding to avoid NullPointerException when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
name = name.substring(0, 15); } this.name = name.toUpperCase(); this.hexCode = hexCode; this.scope = scope != null && scope.length() > 0 ? scope : cfg.getNetbiosScope(); this.srcHashCode = 0; } /** * Constructs a Name from a NetbiosName. * * @param cfg the configuration to use * @param name the NetbiosName to copy from
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Mock private Name mockName; private NodeStatusRequest nodeStatusRequest; @BeforeEach void setUp() { // Setup default mock behavior lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE"); lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertEquals(0, config.getNetbiosLocalPort()); assertNull(config.getNetbiosLocalAddress()); assertEquals(5000, config.getNetbiosSoTimeout()); assertNull(config.getNetbiosScope()); assertEquals(60 * 60 * 10, config.getNetbiosCachePolicy()); assertEquals(576, config.getNetbiosRcvBufSize()); assertEquals(2, config.getNetbiosRetryCount());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
* the name deduced above possibly with scope applied and * cache it forever. */ final Name localName = new Name(tc.getConfig(), localHostname, 0x00, tc.getConfig().getNetbiosScope()); this.localhostAddress = new NbtAddress(localName, localInetAddress.hashCode(), false, NbtAddress.B_NODE, false, false, true, false, UNKNOWN_MAC_ADDRESS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
@ExtendWith(MockitoExtension.class) class NameTest { @Mock private Configuration mockConfig; @BeforeEach void setUp() { // Setup default mock behavior lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE"); lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test void constructor_withConfigOnly_shouldInitializeFields() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.netbiosLocalAddress; } @Override public int getNetbiosSoTimeout() { return this.netbiosSocketTimeout; } @Override public String getNetbiosScope() { return this.netbiosScope; } @Override public int getNetbiosCachePolicy() { return this.netbiosCachePolicy; } @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)