- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 26 for isReceived (0.16 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
void testReset() { // Set initial state response.received(); assertTrue(response.isReceived()); // Reset response.reset(); assertFalse(response.isReceived()); } @Test @DisplayName("Should handle received notification") void testReceived() throws InterruptedException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return getConfig().equals(tc.getConfig()); } @Override public boolean isValid(final CIFSContext tc, final SmbNegotiationRequest req) { if (!isReceived() || getStatus() != 0) { return false; } if (req.isSigningEnforced() && !isSigningEnabled()) { log.debug("Signing is enforced but server does not allow it");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
void watch_smb2_success_returnsList_andClosesTree() throws Exception { List<FileNotifyInformation> info = new ArrayList<>(); NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
makeKey(request); response.isReceived = false; try { response_map.put(request, response); doSend(request); response.expiration = System.currentTimeMillis() + timeout; while (!response.isReceived) { wait(timeout); timeout = response.expiration - System.currentTimeMillis();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
try { createResp = th.send(create); } catch (final SmbException e) { final Smb2CreateResponse cr = create.getResponse(); if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) { try { th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId())); } catch (final SmbException e2) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
throw e; } if (log.isTraceEnabled()) { log.trace("Returned from NtTransNotifyChange " + resp.getErrorCode()); } if (!resp.isReceived()) { throw new CIFSException("Did not receive response"); } if (resp.getErrorCode() == 0x10B) { this.handle.markClosed(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ public final void setUseUnicode(final boolean useUnicode) { this.useUnicode = useUnicode; } /** * @return the received */ @Override public final boolean isReceived() { return this.received; } @Override public final void clearReceived() { this.received = false; } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD); } catch (final SmbException e) { if (this.response != null && this.response.isReceived() && e.getNtStatus() == NtStatus.NT_STATUS_NO_SUCH_FILE) { doClose(); return null; } throw e; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response); // Test some inherited methods assertFalse(response.isReceived()); assertFalse(response.isError()); assertNull(response.getExpiration()); } @Test @DisplayName("Should handle configuration correctly")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0)