package okhttp3.sse;

import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.rtsp.SessionDescription;
import androidx.media3.extractor.text.ttml.TtmlNode;
import defpackage.cr4;
import defpackage.kp6;
import defpackage.pq6;
import kotlin.Metadata;
import okhttp3.Response;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0010\u0003\n\u0002\b\u0004\b&\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u001f\u0010\t\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0016¢\u0006\u0004\b\t\u0010\nJ3\u0010\u000f\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\b\u0010\f\u001a\u0004\u0018\u00010\u000b2\b\u0010\r\u001a\u0004\u0018\u00010\u000b2\u0006\u0010\u000e\u001a\u00020\u000bH\u0016¢\u0006\u0004\b\u000f\u0010\u0010J\u0017\u0010\u0011\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\u0011\u0010\u0012J+\u0010\u0015\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\b\u0010\u0014\u001a\u0004\u0018\u00010\u00132\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006H\u0016¢\u0006\u0004\b\u0015\u0010\u0016¨\u0006\u0017"}, d2 = {"Lokhttp3/sse/EventSourceListener;", "", "<init>", "()V", "Lokhttp3/sse/EventSource;", "eventSource", "Lokhttp3/Response;", "response", "Le6a;", "onOpen", "(Lokhttp3/sse/EventSource;Lokhttp3/Response;)V", "", TtmlNode.ATTR_ID, SessionDescription.ATTR_TYPE, "data", "onEvent", "(Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "onClosed", "(Lokhttp3/sse/EventSource;)V", "", "t", "onFailure", "(Lokhttp3/sse/EventSource;Ljava/lang/Throwable;Lokhttp3/Response;)V", "okhttp-sse"}, k = 1, mv = {1, 8, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public abstract class EventSourceListener {
    public void onClosed(@kp6 EventSource eventSource) {
        cr4.g(eventSource, "eventSource");
    }

    public void onEvent(@kp6 EventSource eventSource, @pq6 String id, @pq6 String type, @kp6 String data) {
        cr4.g(eventSource, "eventSource");
        cr4.g(data, "data");
    }

    public void onFailure(@kp6 EventSource eventSource, @pq6 Throwable t, @pq6 Response response) {
        cr4.g(eventSource, "eventSource");
    }

    public void onOpen(@kp6 EventSource eventSource, @kp6 Response response) {
        cr4.g(eventSource, "eventSource");
        cr4.g(response, "response");
    }
}
