public interface FlowControlStrategy
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_WINDOW_SIZE |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onDataConsumed(SessionSPI session,
StreamSPI stream,
int length) |
void |
onDataReceived(SessionSPI session,
StreamSPI stream,
int length) |
void |
onDataSending(StreamSPI stream,
int length) |
void |
onDataSent(StreamSPI stream,
int length) |
void |
onStreamCreated(StreamSPI stream) |
void |
onStreamDestroyed(StreamSPI stream) |
void |
onWindowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
void |
updateInitialStreamWindow(SessionSPI session,
int initialStreamWindow,
boolean local) |
void |
windowUpdate(SessionSPI session,
StreamSPI stream,
WindowUpdateFrame frame) |
static final int DEFAULT_WINDOW_SIZE
void onStreamCreated(StreamSPI stream)
void onStreamDestroyed(StreamSPI stream)
void updateInitialStreamWindow(SessionSPI session, int initialStreamWindow, boolean local)
void onWindowUpdate(SessionSPI session, StreamSPI stream, WindowUpdateFrame frame)
void onDataReceived(SessionSPI session, StreamSPI stream, int length)
void onDataConsumed(SessionSPI session, StreamSPI stream, int length)
void windowUpdate(SessionSPI session, StreamSPI stream, WindowUpdateFrame frame)
void onDataSending(StreamSPI stream, int length)
void onDataSent(StreamSPI stream, int length)
Copyright © 2017. All rights reserved.