public class MqttPacketOutputStream
extends java.io.ByteArrayOutputStream
OutputStream
for MQTT packet with a flush method that
sends the packet.Constructor and Description |
---|
MqttPacketOutputStream(java.lang.String topic,
org.eclipse.paho.client.mqttv3.IMqttAsyncClient mqttClient,
int qos,
boolean retained) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |