- All Known Implementing Classes:
AbstractMqttSocket
public interface MqttSocket<I,O>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
didRead
(MqttPacket<? extends I> packet) void
void
void
didWrite
(MqttPacket<? extends O> packet) void
doRead()
void
doWrite()
long
void
setMqttSocketContext
(MqttSocketContext<I, O> context) void
willBecome
(IpSocket socket) void
void
-
Method Details
-
mqttSocketContext
MqttSocketContext<I,O> mqttSocketContext() -
setMqttSocketContext
-
idleTimeout
long idleTimeout() -
doRead
void doRead() -
didRead
-
doWrite
void doWrite() -
didWrite
-
willConnect
void willConnect() -
didConnect
void didConnect() -
willSecure
void willSecure() -
didSecure
void didSecure() -
willBecome
-
didBecome
-
didTimeout
void didTimeout() -
didDisconnect
void didDisconnect() -
didFail
-