Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 17 of 17 for getNextResponse (0.25 seconds)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                CommonServerMessageBlockResponse result = response.getNextResponse();
    
                assertSame(nextResponse, result);
            }
    
            @Test
            @DisplayName("Should return null when no next response")
            void testGetNextResponseNull() {
                CommonServerMessageBlockResponse result = response.getNextResponse();
    
                assertNull(result);
            }
    
            @Test
    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)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertEquals(mockAndxCommand, testBlock.getNextResponse());
        }
    
        @Test
        @DisplayName("Test constructor without andx command")
        void testConstructorWithoutAndx() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
    
            assertNull(testBlock.getAndx());
            assertNull(testBlock.getNext());
            assertNull(testBlock.getNextResponse());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

                            return andxResponse;
                        }
                        if (transport.isSMB2()) {
                            return (T) response.getNextResponse();
                        }
                        return null;
                    } catch (final IOException se) {
                        if (request != null && request.getResponse() != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertFalse(testBlock.allowChain(mock(CommonServerMessageBlockRequest.class)));
                assertNull(testBlock.split());
                assertNull(testBlock.createCancel());
                assertNull(testBlock.getNextResponse());
                assertFalse(testBlock.isCancel());
                assertEquals(1, testBlock.getCreditCost());
                assertEquals(1, testBlock.getGrantedCredits());
            }
    
            @Test
    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)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                    initializeWitnessSupport();
    
                    if (ex != null) {
                        throw ex;
                    }
                    return (T) (response != null ? response.getNextResponse() : null);
                }
            }
        }
    
        private static byte[] createToken(final SSPContext ctx, final byte[] token, Subject s) throws CIFSException {
            if (s != null) {
                try {
    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)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                    throw new IOException("Overlapping commands");
                }
                size -= rl;
    
                while (size > 0 && nextCommand != 0) {
                    cur = (ServerMessageBlock2Response) cur.getNextResponse();
                    if (cur == null) {
                        log.warn("Response not properly set up");
                        this.in.skip(size);
                        break;
                    }
    
    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)
  7. src/main/java/jcifs/smb/SmbFile.java

                this.size = info.getSize();
                this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                return (T) createResp.getNextResponse();
            } catch (CIFSException | RuntimeException e) {
                try {
                    // make sure that the handle is closed when one of the requests fails
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top