All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.taosdata.jdbc.ws.tmq.entity.FetchBlockResp Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.taosdata.jdbc.ws.tmq.entity;

import com.taosdata.jdbc.ws.entity.Action;
import com.taosdata.jdbc.ws.entity.Response;

import java.nio.ByteBuffer;

public class FetchBlockResp extends Response {
    private ByteBuffer buffer;

    public FetchBlockResp(long id, ByteBuffer buffer) {
        this.setAction(Action.FETCH_BLOCK.getAction());
        this.setReqId(id);
        this.buffer = buffer;
    }

    public ByteBuffer getBuffer() {
        return buffer;
    }

    public void setBuffer(ByteBuffer buffer) {
        this.buffer = buffer;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy