-
- All Superinterfaces:
FlowContext
,IpContext
- All Known Implementing Classes:
MqttSocketModem
public interface MqttSocketContext<I,O> extends IpContext, FlowContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
become(IpSocket socket)
void
close()
MqttSettings
mqttSettings()
<I2 extends I>
voidread(Decoder<I2> content)
<O2 extends O>
voidwrite(MqttPacket<O2> packet)
-
Methods inherited from interface swim.io.FlowContext
flowControl, flowControl, flowControl
-
Methods inherited from interface swim.io.IpContext
cipherSuite, isClient, isConnected, isSecure, isServer, localAddress, localCertificates, localPrincipal, remoteAddress, remoteCertificates, remotePrincipal, securityProtocol
-
-
-
-
Method Detail
-
mqttSettings
MqttSettings mqttSettings()
-
write
<O2 extends O> void write(MqttPacket<O2> packet)
-
become
void become(IpSocket socket)
-
close
void close()
-
-