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