All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fireflysource.net.http.common.v2.stream.FlowControl Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package com.fireflysource.net.http.common.v2.stream;

import com.fireflysource.net.http.common.v2.frame.WindowUpdateFrame;

public interface FlowControl {

    void onStreamCreated(Stream stream);

    void onStreamDestroyed(Stream stream);

    void updateInitialStreamWindow(Http2Connection http2Connection, int initialStreamWindow, boolean local);

    void onWindowUpdate(Http2Connection http2Connection, Stream stream, WindowUpdateFrame frame);

    void onDataReceived(Http2Connection http2Connection, Stream stream, int length);

    void onDataConsumed(Http2Connection http2Connection, Stream stream, int length);

    void windowUpdate(Http2Connection http2Connection, Stream stream, WindowUpdateFrame frame);

    void onDataSending(Stream stream, int length);

    void onDataSent(Stream stream, int length);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy