-
- All Implemented Interfaces:
-
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class MqttOutputStream extends OutputStream
An
MqttOutputStreamlets applications write instances ofMqttWireMessage.
-
-
Constructor Summary
Constructors Constructor Description MqttOutputStream(OutputStream out)
-
Method Summary
Modifier and Type Method Description voidclose()voidflush()voidwrite(Array<byte> b)voidwrite(Array<byte> b, int off, int len)voidwrite(int b)voidwrite(MqttInterceptorCallback mqttInterceptorCallback, MqttWireMessage message)Writes an MqttWireMessageto the stream.-
-
Constructor Detail
-
MqttOutputStream
MqttOutputStream(OutputStream out)
-
-
Method Detail
-
close
void close()
-
flush
void flush()
-
write
void write(int b)
-
write
void write(MqttInterceptorCallback mqttInterceptorCallback, MqttWireMessage message)
Writes an
MqttWireMessageto the stream.
-
-
-
-