java.lang.Object
swim.io.mqtt.AbstractMqttService
- All Implemented Interfaces:
FlowContext,MqttService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MqttSocket<?,?> voiddidAccept(MqttSocket<?, ?> socket) voiddidBind()voidvoidReturns 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.voidsetMqttServiceContext(MqttServiceContext context) voidunbind()
-
Field Details
-
context
-
-
Constructor Details
-
AbstractMqttService
public AbstractMqttService()
-
-
Method Details
-
mqttServiceContext
- Specified by:
mqttServiceContextin interfaceMqttService
-
setMqttServiceContext
- Specified by:
setMqttServiceContextin interfaceMqttService
-
createSocket
- Specified by:
createSocketin interfaceMqttService
-
didBind
public void didBind()- Specified by:
didBindin interfaceMqttService
-
didAccept
- Specified by:
didAcceptin interfaceMqttService
-
didUnbind
public void didUnbind()- Specified by:
didUnbindin interfaceMqttService
-
didFail
- Specified by:
didFailin interfaceMqttService
-
flowControl
Description copied from interface:FlowContextReturns the currentFlowControlstate of the underlying network channel.- Specified by:
flowControlin interfaceFlowContext
-
flowControl
Description copied from interface:FlowContextEnqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl.- Specified by:
flowControlin interfaceFlowContext
-
flowControl
Description copied from interface:FlowContextEnqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.- Specified by:
flowControlin interfaceFlowContext
-
mqttSettings
-
localAddress
-
unbind
public void unbind()
-