what-the-bank/sources/io/grpc/okhttp/internal/framed/FrameReader.java

41 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc.okhttp.internal.framed;
import java.io.Closeable;
import java.io.IOException;
import java.util.List;
import o.C15155gij;
import o.InterfaceC15149gid;
/* loaded from: classes6.dex */
public interface FrameReader extends Closeable {
/* loaded from: classes6.dex */
public interface Handler {
void ackSettings();
void alternateService(int i, String str, C15155gij c15155gij, String str2, int i2, long j);
void data(boolean z, int i, InterfaceC15149gid interfaceC15149gid, int i2) throws IOException;
void goAway(int i, ErrorCode errorCode, C15155gij c15155gij);
void headers(boolean z, boolean z2, int i, int i2, List<Header> list, HeadersMode headersMode);
void ping(boolean z, int i, int i2);
void priority(int i, int i2, int i3, boolean z);
void pushPromise(int i, int i2, List<Header> list) throws IOException;
void rstStream(int i, ErrorCode errorCode);
void settings(boolean z, Settings settings);
void windowUpdate(int i, long j);
}
boolean nextFrame(Handler handler) throws IOException;
void readConnectionPreface() throws IOException;
}