tech.ytsaurus.client.rpc.RpcStreamConsumer Maven / Gradle / Ivy
The newest version!
package tech.ytsaurus.client.rpc;
import java.util.List;
import tech.ytsaurus.rpc.TStreamingFeedbackHeader;
import tech.ytsaurus.rpc.TStreamingPayloadHeader;
public interface RpcStreamConsumer extends RpcClientResponseHandler {
void onStartStream(RpcClientStreamControl control);
void onFeedback(RpcClient sender, TStreamingFeedbackHeader header, List attachments);
void onPayload(RpcClient sender, TStreamingPayloadHeader header, List attachments);
void onWakeup();
}