- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for NO_TIMEOUT (0.16 sec)
-
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Arrange when(tree.send(eq(request), eq(RequestParam.NO_TIMEOUT), eq(RequestParam.NO_RETRY))).thenReturn(response); // Act CommonServerMessageBlockResponse out = tree.send(request, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY); // Assert assertSame(response, out); verify(tree).send(request, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
new RequestParam[] { RequestParam.NONE, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY, RequestParam.RETAIN_PAYLOAD }, values, "values() order should match declaration order"); } // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable @ParameterizedTest @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/RequestParam.java
*/ public enum RequestParam { /** * No special request parameters. */ NONE, /** * Wait indefinitely for a response */ NO_TIMEOUT, /** * Do not retry request on failure */ NO_RETRY, /** * Save the raw payload for further inspection */ RETAIN_PAYLOAD
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} if (log.isTraceEnabled()) { log.trace("Sending NtTransNotifyChange for " + this.handle); } try { resp = th.send(req, resp, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY); } catch (final SmbException e) { if (e.getNtStatus() == 0xC0000120) { // cancelled log.debug("Request was cancelled", e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
try { final long timeout = getResponseTimeout(chain); if (params.contains(RequestParam.NO_TIMEOUT)) { this.credits.acquire(cost); } else if (!this.credits.tryAcquire(cost, timeout, TimeUnit.MILLISECONDS)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
if (isDisconnected() && this.state != 5) { 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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
response.clearReceived(); response.setExtendedSecurity(this.extendedSecurity); } try { if (params.contains(RequestParam.NO_TIMEOUT)) { this.expiration = -1; } else { this.expiration = System.currentTimeMillis() + this.transportContext.getConfig().getSoTimeout(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)