Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Trans2SetFileInformationResponse (1.09 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class Trans2SetFileInformationResponse extends SmbComTransactionResponse {
    
        Trans2SetFileInformationResponse() {
            subCommand = SmbComTransaction.TRANS2_SET_FILE_INFORMATION;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponse.java

     *
     * @author mbechler
     */
    public class Trans2SetFileInformationResponse extends SmbComTransactionResponse {
    
        /**
         * Constructs a Trans2SetFileInformationResponse with the specified configuration.
         *
         * @param config the SMB configuration
         */
        public Trans2SetFileInformationResponse(final Configuration config) {
            super(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        }
    
        @Test
        @DisplayName("Test constructor with mock configuration")
        void testConstructorWithMockConfig() {
            // Test constructor with mock configuration
            Trans2SetFileInformationResponse mockResponse = new Trans2SetFileInformationResponse(mockConfig);
            assertNotNull(mockResponse);
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, mockResponse.getSubCommand());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link Trans2SetFileInformationResponse} class.
     */
    class Trans2SetFileInformationResponseTest {
    
        private Trans2SetFileInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize a new response object before each test
            response = new Trans2SetFileInformationResponse();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

    import jcifs.internal.smb1.com.SmbComSetInformation;
    import jcifs.internal.smb1.com.SmbComSetInformationResponse;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.SrvCopyChunkCopyResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbTreeHandleImpl tree = fh.getTree();
            when(tree.send(any(Trans2SetFileInformation.class), any(Trans2SetFileInformationResponse.class), any(RequestParam.class)))
                    .thenReturn(null);
    
            raf.setLength(200L);
    
            verify(tree, times(1)).send(any(Trans2SetFileInformation.class), any(Trans2SetFileInformationResponse.class),
                    eq(RequestParam.NO_RETRY));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

    import jcifs.internal.smb1.com.SmbComWriteAndXResponse;
    import jcifs.internal.smb1.com.SmbComWriteResponse;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    import jcifs.internal.smb2.io.Smb2ReadRequest;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        off += resp.dataLength;
                    }
    
                    dest.send(new Trans2SetFileInformation(dest.fid, attributes, createTime, lastModified),
                            new Trans2SetFileInformationResponse());
                    dest.close(0L);
                } catch (final SmbException se) {
    
                    if (!ignoreCopyToException) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.internal.smb1.trans2.Trans2QueryPathInformation;
    import jcifs.internal.smb1.trans2.Trans2QueryPathInformationResponse;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.create.Smb2CloseRequest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top