- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getLocalHost (0.14 sec)
-
src/test/java/jcifs/tests/DelegatingNameServiceClient.java
} @Override public NetbiosName getLocalName () { return this.nscl.getLocalName(); } @Override public NetbiosAddress getLocalHost () { return this.nscl.getLocalHost(); } @Override public Address getByName ( String hostname ) throws UnknownHostException { return this.nscl.getByName(hostname); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
} @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() { fakeDns["server"] = listOf(InetAddress.getLocalHost()) val route = factory.newRoute() val request = Request.Builder() .url("https://server/robots.txt") .build() val response = Response.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try { return InetAddress.getLocalHost().getAddress(); } catch (final UnknownHostException ignore) { return DEFAULT_ADDRESS; } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
var requestCount: Int = mockWebServer.requestCount mockWebServer.enqueue(MockResponse()) mockWebServer.start() mockWebServer.start(0) mockWebServer.start(InetAddress.getLocalHost(), 0) mockWebServer.shutdown() var dispatcher: Dispatcher = mockWebServer.dispatcher dispatcher = mockWebServer.dispatcher mockWebServer.dispatcher = QueueDispatcher()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (UnknownHostException ex) { } DEFAULT_WORKSTATION = defaultWorkstation; } /** * Creates a Type-1 message using default values from the current
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 8K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* * This is an internal API for resolving names * * @author mbechler * @internal */ public interface NameServiceClient { /** * @return local host address */ NetbiosAddress getLocalHost (); /** * @return the local host name */ NetbiosName getLocalName (); /** * @return the unknown name */ NetbiosName getUnknownName ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
static final int DEFAULT_SND_BUF_SIZE = 16644; static final int DEFAULT_SSN_LIMIT = 250; static final int DEFAULT_CONN_TIMEOUT = 35000; static final InetAddress LADDR = Config.getLocalHost(); static final int LPORT = Config.getInt( "jcifs.smb1.smb.client.lport", 0 ); static final int MAX_MPX_COUNT = Config.getInt( "jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* * @param tc * context to use */ public Type1Message ( 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 flags
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 02 12:55:08 UTC 2018 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.3K bytes - Viewed (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. * * <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>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0)