Interface QpackDecoderStateSyncStrategy
public interface QpackDecoderStateSyncStrategy
A strategy that determines when to send acknowledgment of new table
entries on the QPACK decoder stream.
-
Method Summary
Modifier and TypeMethodDescriptionReturns aQpackDecoderStateSyncStrategythat will acknowledge each entry added viaentryAdded(int)unless a priorsectionAcknowledged(int)call has implicitly acknowledged the addition.booleanentryAdded(int insertCount) When a header field entry is added to the decoder dynamic table.voidsectionAcknowledged(int requiredInsertCount) Callback when an encoded header field section is decoded successfully by the decoder.
-
Method Details
-
sectionAcknowledged
void sectionAcknowledged(int requiredInsertCount) Callback when an encoded header field section is decoded successfully by the decoder.- Parameters:
requiredInsertCount- for the encoded field section.
-
entryAdded
boolean entryAdded(int insertCount) When a header field entry is added to the decoder dynamic table.- Parameters:
insertCount- for the entry.- Returns:
trueif an insert count increment decoder instruction should be sent.
-
ackEachInsert
Returns aQpackDecoderStateSyncStrategythat will acknowledge each entry added viaentryAdded(int)unless a priorsectionAcknowledged(int)call has implicitly acknowledged the addition.- Returns:
- A
QpackDecoderStateSyncStrategythat will acknowledge each entry added viaentryAdded(int)unless a priorsectionAcknowledged(int)call has implicitly acknowledged the addition.
-