package okhttp3.repackaged.internal.framed; import java.io.Closeable; import java.io.IOException; import java.util.List; import o.InterfaceC15142giR; import o.giP; /* loaded from: classes6.dex */ public interface FrameReader extends Closeable { /* loaded from: classes6.dex */ public interface Handler { void ackSettings(); void alternateService(int i, String str, giP gip, String str2, int i2, long j); void data(boolean z, int i, InterfaceC15142giR interfaceC15142giR, int i2) throws IOException; void goAway(int i, ErrorCode errorCode, giP gip); void headers(boolean z, boolean z2, int i, int i2, List
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
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; }