tech.ydb.core.grpc.GrpcReadWriteStream Maven / Gradle / Ivy
package tech.ydb.core.grpc;
/**
*
* @author Aleksandr Gorshenin
* @param type of message received
* @param type of message to be sent to the server
*/
public interface GrpcReadWriteStream extends GrpcReadStream {
String authToken();
/**
* Send a request message to the server.
* @param message message to be sent to the server.
*/
void sendNext(W message);
/**
* Close the call for next message sending. Incoming response messages are unaffected. This
* should be called when no more messages will be sent from the client.
*/
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy