- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 75 for getByName (0.04 sec)
-
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */ public synchronized static NbtAddress getByName(final String host) { return getByName(new Name(host, 0x20, null)); } synchronized static NbtAddress getByName(final Name name) { NbtAddress result = null; try { if (FILENAME != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* have many names for a given IP address. The name and IP address make * the NetBIOS address. This provides a way to retrieve the other names * for a host with the same IP address. See {@link #getByName} * for a description of <code>type</code> * and <code>scope</code>. * * @param host * hostname to lookup all addresses for * @param type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
* @return the resolved UniAddress * @throws UnknownHostException if the host cannot be resolved */ public static UniAddress getByName(final String hostname) throws UnknownHostException { return getByName(hostname, false); } static boolean isDotQuadIP(final String hostname) { if (hostname != null && hostname.length() > 0 && Character.isDigit(hostname.charAt(0))) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
return false; } } return true; } @Override public UniAddress getByName(final String hostname) throws UnknownHostException { return getByName(hostname, false); } @Override public UniAddress getByName(final String hostname, final boolean possibleNTDomainOrWorkgroup) throws UnknownHostException {
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/internal/witness/WitnessClientTest.java
private InetAddress witnessServer; private InetAddress serverAddress; @BeforeEach void setUp() throws Exception { witnessServer = InetAddress.getByName("192.168.1.200"); serverAddress = InetAddress.getByName("192.168.1.100"); // Setup mock configuration with lenient stubbing lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
} @Test void testChannelInfoCreation() throws Exception { // Test ChannelInfo creation InetAddress localAddr = InetAddress.getByName("192.168.1.10"); InetAddress remoteAddr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localNic = new NetworkInterfaceInfo(localAddr, 1); NetworkInterfaceInfo remoteNic = new NetworkInterfaceInfo(remoteAddr, 445);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* 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}. * * * * <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 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* @param tc the CIFS context * @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/README.md
val dns = DnsOverHttps.Builder().client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl()) .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8")) .build() val client = bootstrapClient.newBuilder().dns(dns).build() ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 739 bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
void testGetHealthyChannels() throws UnknownHostException { assertTrue(channelManager.getHealthyChannels().isEmpty()); // Add a healthy channel manually for testing InetAddress addr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000); NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0)