-
- 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 FlowContext
Flow-controlled network channel context.- See Also:
FlowControl
,FlowModifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlowControl
flowControl()
Returns the currentFlowControl
state of the underlying network channel.void
flowControl(FlowControl flowControl)
Enqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl
.FlowControl
flowControl(FlowModifier flowModifier)
Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifier
delta.
-
-
-
Method Detail
-
flowControl
FlowControl flowControl()
Returns the currentFlowControl
state 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 aflowModifier
delta.
-
-