- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getLocalHost (0.14 sec)
-
src/test/java/jcifs/NameServiceClientTest.java
when(nameServiceClient.getLocalHost()).thenReturn(expectedAddress); // Act NetbiosAddress actualAddress = nameServiceClient.getLocalHost(); // Assert assertNotNull(actualAddress); assertEquals(expectedAddress, actualAddress); verify(nameServiceClient, times(1)).getLocalHost(); } @Test void testGetLocalName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost); when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME); when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN); when(mockConfig.isUseUnicode()).thenReturn(true);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
addrs[i] = new UniAddress(addr[i]); } return addrs; } /** * {@inheritDoc} * * @see jcifs.NameServiceClient#getLocalHost() */ @Override public NbtAddress getLocalHost() { return this.localhostAddress; } /** * {@inheritDoc} * * @see jcifs.NameServiceClient#getLocalName() */
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/main/java/jcifs/smb1/netbios/NbtAddress.java
* conditions, users of jCIFS need not be concerned with this class as * name resolution and session services are handled internally by the smb package. * * <p> Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * * <p><b>About NetBIOS:</b> The NetBIOS name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
lenient().when(mockCtx.getConfig()).thenReturn(mockConfig); lenient().when(mockCtx.getNameServiceClient()).thenReturn(mockNameServiceClient); lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost); lenient().when(mockHost.getHostName()).thenReturn("TEST_HOSTNAME"); return mockCtx; } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int DEFAULT_SSN_LIMIT = 250; /** Default connection timeout in milliseconds */ int DEFAULT_CONN_TIMEOUT = 35000; /** Local address to bind to */ InetAddress LADDR = Config.getLocalHost(); /** Local port to bind to */ int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0); /** Maximum multiplex count */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
lenient().when(mockContext.getConfig()).thenReturn(mockConfig); lenient().when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockLocalHost); lenient().when(mockLocalHost.getHostName()).thenReturn("localhost"); lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* conditions, users of jCIFS need not be concerned with this class as * name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
log.debug("Failed to get domain bytes", ex); } } final int domainLength = domain.length; byte[] server = {}; final String host = tc.getNameServiceClient().getLocalHost().getHostName(); if (host != null) { try { server = host.getBytes(UNI_ENCODING); } catch (final IOException ex) { log.debug("Failed to get host bytes", ex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0)