Interface DemandChain
- All Known Implementing Classes:
WebSocketDemander
public interface DemandChain
This is extended by an
Extension
so it can intercept demand calls.
Demand is called by the application and the call is forwarded through the ExtensionStack
for every Extension
which implements this interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
demand()
default void
setNextDemand
(DemandChain nextDemand) Set the nextDemandChain
instance towards the transport side of theDemandChain
pipeline.
-
Method Details
-
demand
void demand() -
setNextDemand
Set the nextDemandChain
instance towards the transport side of theDemandChain
pipeline.- Parameters:
nextDemand
- the next link in the demand chain.
-