- All Known Subinterfaces:
HttpClientContext,HttpRequesterContext,HttpResponderContext,HttpServerContext,HttpServiceContext,IpModemContext<I,,O> IpServiceContext,IpSocketContext,MqttServiceContext,MqttSocketContext<I,,O> TransportContext,TransportRef,WarpSocketContext,WebSocketContext<I,O>
- All Known Implementing Classes:
AbstractHttpClient,AbstractHttpRequester,AbstractHttpResponder,AbstractHttpServer,AbstractHttpService,AbstractIpModem,AbstractIpService,AbstractIpSocket,AbstractMqttService,AbstractMqttSocket,AbstractWarpClient,AbstractWarpServer,AbstractWarpSocket,AbstractWebSocket,AbstractWsClient,AbstractWsServer,HttpClientModem,HttpClientRequester,HttpServerModem,HttpServerResponder,HttpSocketService,HttpWebResponder,IpSocketModem,MqttSocketModem,MqttSocketService,StaticHttpResponder,WarpWebSocket,WebServer,WebSocketModem,WsUpgradeRequester,WsUpgradeResponder
public interface FlowContext
Flow-controlled network channel context.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the currentFlowControlstate of the underlying network channel.voidflowControl(FlowControl flowControl) Enqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl.flowControl(FlowModifier flowModifier) Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.
-
Method Details
-
flowControl
FlowControl flowControl()Returns the currentFlowControlstate of the underlying network channel. -
flowControl
Enqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl. -
flowControl
Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.
-