Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SmbComSeekResponse (0.41 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

     * position after a seek request in SMB1 protocol file operations.
     *
     * @author mbechler
     */
    public class SmbComSeekResponse extends ServerMessageBlock {
    
        private long offset;
    
        /**
         * Constructs a seek response.
         *
         * @param config the configuration
         */
        public SmbComSeekResponse(final Configuration config) {
            super(config);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Unit tests for {@link SmbComSeekResponse}.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbComSeekResponse tests")
    class SmbComSeekResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private SmbComSeekResponse response;
    
        @BeforeEach
        void setUp() {
            // Setup mock configuration to avoid NPE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         *
         * @param config the configuration
         * @param andxResp the chained seek response
         */
        public SmbComOpenAndXResponse(final Configuration config, final SmbComSeekResponse andxResp) {
            super(config, andxResp);
        }
    
        /**
         * Gets the file identifier.
         *
         * @return the fid
         */
        public final int getFid() {
            return this.fid;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    final SmbComSeek seekReq = new SmbComSeek(config, 0);
                    seekReq.setMode(0x2); // from EOF
                    final SmbComSeekResponse seekResp = new SmbComSeekResponse(config);
                    seekReq.setFid(response.getFid());
                    try {
                        h.send(seekReq, seekResp);
    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