Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 30 for isReceived (0.06 seconds)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest)
         */
        @Override
        public void prepare(final CommonServerMessageBlockRequest next) {
            if (isReceived() && next instanceof RequestWithFileId) {
                ((RequestWithFileId) next).setFileId(this.fileId);
            }
            super.prepare(next);
        }
    
        /**
         * Get the oplock level granted by the server
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            @Override
            public Long getExpiration() {
                return this.expiration;
            }
    
            // Additional Response interface methods
            @Override
            public boolean isReceived() {
                return this.received;
            }
    
            @Override
            public void received() {
                this.received = true;
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            @Test
            @DisplayName("Should track received state")
            void testReceivedState() {
                assertFalse(echoResponse.isReceived());
    
                echoResponse.received();
    
                assertTrue(echoResponse.isReceived());
            }
    
            @Test
            @DisplayName("Should track error state")
            void testErrorState() {
                assertFalse(echoResponse.isError());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            @Test
            @DisplayName("Test received state")
            void testReceivedState() {
                assertFalse(testBlock.isReceived());
    
                testBlock.received();
                assertTrue(testBlock.isReceived());
    
                testBlock.clearReceived();
                assertFalse(testBlock.isReceived());
            }
    
            @Test
            @DisplayName("Test exception state")
            void testExceptionState() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top