com.github.netty.protocol.nrpc.Emitter Maven / Gradle / Ivy
The newest version!
package com.github.netty.protocol.nrpc;
import java.util.concurrent.CompletableFuture;
public interface Emitter {
CompletableFuture send(CHUNK chunk, Class responseType, int responseTimeout);
void send(CHUNK chunk);
boolean complete(RESULT completeResult);
boolean complete(Throwable throwable);
boolean isComplete();
int getSendCount();
}