54 lines
1.0 KiB
Java
54 lines
1.0 KiB
Java
package io.grpc;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public abstract class ServerCall<ReqT, RespT> {
|
|
|
|
/* loaded from: classes6.dex */
|
|
public static abstract class Listener<ReqT> {
|
|
public void onCancel() {
|
|
}
|
|
|
|
public void onComplete() {
|
|
}
|
|
|
|
public void onHalfClose() {
|
|
}
|
|
|
|
public void onMessage(ReqT reqt) {
|
|
}
|
|
|
|
public void onReady() {
|
|
}
|
|
}
|
|
|
|
public abstract void close(Status status, Metadata metadata);
|
|
|
|
public String getAuthority() {
|
|
return null;
|
|
}
|
|
|
|
public abstract MethodDescriptor<ReqT, RespT> getMethodDescriptor();
|
|
|
|
public abstract boolean isCancelled();
|
|
|
|
public boolean isReady() {
|
|
return true;
|
|
}
|
|
|
|
public abstract void request(int i);
|
|
|
|
public abstract void sendHeaders(Metadata metadata);
|
|
|
|
public abstract void sendMessage(RespT respt);
|
|
|
|
public void setCompression(String str) {
|
|
}
|
|
|
|
public void setMessageCompression(boolean z) {
|
|
}
|
|
|
|
public Attributes getAttributes() {
|
|
return Attributes.EMPTY;
|
|
}
|
|
}
|