- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for getLocalHost (0.28 seconds)
-
src/main/java/jcifs/ntlmssp/Type1Message.java
* * @param tc * context to use */ public Type1Message(final CIFSContext tc) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to use * @param flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (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() */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
src/main/java/jcifs/NetbiosAddress.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}. * *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/NameServiceClient.java
* * @author mbechler */ public interface NameServiceClient { /** * Gets the local host NetBIOS address. * * @return local host address */ NetbiosAddress getLocalHost(); /** * Gets the local host NetBIOS name. * * @return the local host name */ NetbiosName getLocalName(); /** * Gets the unknown NetBIOS name instance. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.4K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
* Get the local host address based on the provided properties. * * @param props the properties to use for configuration * @return the local host InetAddress */ public static InetAddress getLocalHost(final Properties props) { final String addr = props.getProperty("jcifs.smb.client.laddr"); if (addr != null) { try { return InetAddress.getByName(addr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
} /** * Get the local host address configured for the client. * * @return the configured local InetAddress, or null if not configured */ public static InetAddress getLocalHost() { final String addr = prp.getProperty("jcifs.smb1.smb.client.laddr"); if (addr != null) { try { return InetAddress.getByName(addr);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (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}. * *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0)