- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DEFAULT_PORT (0.05 sec)
-
src/test/java/jcifs/SmbTransportPoolTest.java
// When SmbTransport result = transportPool.getSmbTransport(context, address, DEFAULT_PORT, false, true); // Then assertNotNull(result); assertEquals(transport, result); verify(transportPool).getSmbTransport(context, address, DEFAULT_PORT, false, true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
// SmbConstants is an interface with static final fields // Verify constants maintain their values assertEquals(445, SmbConstants.DEFAULT_PORT); // Test that the constant values are as expected for protocol compliance assertTrue(SmbConstants.DEFAULT_PORT > 0); assertTrue(SmbConstants.DEFAULT_RESPONSE_TIMEOUT > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
// Only set the alternate port to the port property if it was successful final int altPort = port == 0 || port == DEFAULT_PORT ? 139 : DEFAULT_PORT; negotiate(altPort, resp); port = altPort; } if (resp.dialectIndex > 10) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
package jcifs.smb1.smb1; import java.net.InetAddress; import java.util.LinkedList; import java.util.TimeZone; import jcifs.smb1.Config; interface SmbConstants { /** Default SMB port number */ int DEFAULT_PORT = 445; /** Default maximum multiplex count */ int DEFAULT_MAX_MPX_COUNT = 10; /** Default response timeout in milliseconds */ int DEFAULT_RESPONSE_TIMEOUT = 30000;
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/main/java/jcifs/SmbConstants.java
* @author mbechler * * * <p>This interface is intended for internal use.</p> */ public interface SmbConstants { /** * Default SMB port number for direct TCP transport. */ int DEFAULT_PORT = 445; /** * Default maximum number of outstanding SMB requests. */ int DEFAULT_MAX_MPX_COUNT = 10; /** * Default timeout in milliseconds for SMB responses. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
final int localPort, final String hostName, final boolean nonPooled, final boolean forceSigning) { if (port <= 0) { port = SmbConstants.DEFAULT_PORT; } // Perform cleanup and health checks without global synchronization cleanup(); performHealthCheck(); if (log.isTraceEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0)