- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for getResponseTimeout (0.57 seconds)
-
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Multiple method calls should result in multiple delegate calls") void testMultipleDelegateCalls() { // Given when(mockDelegate.getResponseTimeout()).thenReturn(30000); // When int timeout1 = delegatingConfig.getResponseTimeout(); int timeout2 = delegatingConfig.getResponseTimeout();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
} @Test @DisplayName("getResponseTimeout falls back to config for non-SMB requests") void getResponseTimeout_default() { // Arrange Request req = mock(Request.class); when(cfg.getResponseTimeout()).thenReturn(2222); // Act & Assert assertEquals(2222, transport.getResponseTimeout(req)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} /** * {@inheritDoc} * * @see jcifs.util.transport.Transport#getResponseTimeout() */ @Override protected int getResponseTimeout(final Request req) { if (req instanceof CommonServerMessageBlockRequest) { final Integer overrideTimeout = ((CommonServerMessageBlockRequest) req).getOverrideTimeout();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getSoTimeout(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getResponseTimeout() */ @Override public int getResponseTimeout() { return this.delegate.getResponseTimeout(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getConnTimeout() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
throw new TransportException("Transport is disconnected " + this.name); } try { final long timeout = !params.contains(RequestParam.NO_TIMEOUT) ? getResponseTimeout(request) : 0; final long firstKey = doSend(request, response, params, timeout); if (Thread.currentThread() == this.thread) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
rdmaConnection.consumeSendCredit(); // Receive response ByteBuffer responseBuffer = rdmaConnection.receive(getResponseTimeout()); // Parse response ServerMessageBlock2 response = parseResponse(responseBuffer); request.setResponse(response); } finally {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
/** * * Property {@code jcifs.smb.client.responseTimeout} (int, default 30000) * * @return timeout for SMB responses, in milliseconds */ int getResponseTimeout(); /** * * Property {@code jcifs.smb.client.lport} (int) * * @return local port to use for outgoing connections */ int getLocalPort(); /** *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.smbLocalPort; } @Override public int getConnTimeout() { return this.smbConnectionTimeout; } @Override public int getResponseTimeout() { return this.smbResponseTimeout; } @Override public int getSoTimeout() { return this.smbSocketTimeout; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// Then assertEquals(30000, testConfig.getConnTimeout()); assertEquals(35000, testConfig.getSoTimeout()); assertEquals(30000, testConfig.getResponseTimeout()); } @Test @DisplayName("Should parse boolean properties correctly") void testBooleanProperties() throws CIFSException { // Given Properties props = new Properties();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0)