Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for CommonServerMessageBlockResponse (0.71 sec)

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

            }
    
            @Test
            @DisplayName("setResponse should throw exception for incompatible response")
            void testSetResponseIncompatible() {
                CommonServerMessageBlockResponse incompatibleResponse = mock(CommonServerMessageBlockResponse.class);
    
                assertThrows(IllegalArgumentException.class, () -> {
                    testRequest.setResponse(incompatibleResponse);
                });
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         * Gets the response associated with this message.
         *
         * @return the associated response
         */
        CommonServerMessageBlockResponse getResponse();
    
        /**
         * Sets the response for this message.
         *
         * @param msg the response message to set
         */
        void setResponse(CommonServerMessageBlockResponse msg);
    
        /**
         * Gets the message ID.
         *
         * @return the message id
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test set response with non-ServerMessageBlock throws exception")
            void testSetResponseWithInvalidType() {
                CommonServerMessageBlockResponse invalidResponse = mock(CommonServerMessageBlockResponse.class);
    
                assertThrows(IllegalArgumentException.class, () -> {
                    testBlock.setResponse(invalidResponse);
                });
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/RequestWithPathTest.java

            public SMBSigningDigest getDigest() {
                return null;
            }
    
            @Override
            public CommonServerMessageBlockResponse getResponse() {
                return null;
            }
    
            @Override
            public void setResponse(CommonServerMessageBlockResponse msg) {
            }
    
            @Override
            public long getMid() {
                return 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/NotifyResponse.java

     * about file system changes such as file creation, deletion, or modification events.
     *
     * @author mbechler
     */
    public interface NotifyResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Gets the file notification information from the response.
         * @return notify information containing file change notifications
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/TreeConnectResponse.java

     * Handles the server's response to a tree connect request, providing tree ID,
     * service type, and DFS information for the connected share.
     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Returns the tree identifier (TID) assigned to this tree connection.
         *
         * @return tree id
         */
        int getTid();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertNull(testMessage.getResponse());
            }
    
            @Test
            @DisplayName("Should accept response setting")
            void testSetResponse() {
                CommonServerMessageBlockResponse response = mock(CommonServerMessageBlockResponse.class);
                testMessage.setResponse(response);
                // Method is empty by default, just ensure no exception
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlock#setResponse(jcifs.internal.CommonServerMessageBlockResponse)
         */
        @Override
        public void setResponse(final CommonServerMessageBlockResponse msg) {
    
        }
    
        /**
         * Gets the error data associated with this message.
         *
         * @return the errorData
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                    && Objects.equals(this.targetDomain, tdom);
        }
    
        <T extends CommonServerMessageBlockResponse> T send(CommonServerMessageBlockRequest request, T response) throws CIFSException {
            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
        <T extends CommonServerMessageBlockResponse> T send(CommonServerMessageBlockRequest request, T response, Set<RequestParam> params)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         */
        @Override
        public ServerMessageBlock getNext() {
            return this.andx;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockResponse#getNextResponse()
         */
        @Override
        public ServerMessageBlock getNextResponse() {
            return this.andx;
        }
    
        /**
         * Gets the batch limit for chained commands
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top