-
- 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,IpSocketModem,MqttSocketModem,MqttSocketService,StaticHttpResponder,WarpWebSocket,WebServer,WebSocketModem,WsUpgradeRequester,WsUpgradeResponder
public interface FlowContextFlow-controlled network channel context.- See Also:
FlowControl,FlowModifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlowControlflowControl()Returns 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.FlowControlflowControl(FlowModifier flowModifier)Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.
-
-
-
Method Detail
-
flowControl
FlowControl flowControl()
Returns the currentFlowControlstate of the underlying network channel.
-
flowControl
void flowControl(FlowControl flowControl)
Enqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl.
-
flowControl
FlowControl flowControl(FlowModifier flowModifier)
Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.
-
-