broker/test/MQTTWebSocket: code formatter used

This commit is contained in:
Andreas Mager
2017-02-01 17:13:41 +01:00
parent 59af0f34ec
commit 42bd234c76
@@ -13,6 +13,7 @@
* *
* You may elect to redistribute this code under either of these licenses. * You may elect to redistribute this code under either of these licenses.
*/ */
package io.moquette.server; package io.moquette.server;
import java.io.IOException; import java.io.IOException;
@@ -68,8 +69,7 @@ public class MQTTWebSocket {
ByteBuffer msg = ByteBuffer.wrap(new byte[]{0x10, // message type ByteBuffer msg = ByteBuffer.wrap(new byte[]{0x10, // message type
0x0C, // remaining lenght 12 bytes 0x0C, // remaining lenght 12 bytes
'M', 'Q','I','s','d','p', 'M', 'Q', 'I', 's', 'd', 'p', 0x03, // protocol version
0x03, //protocol version
0x32, // flags 0x32, // flags
0x02, 0x00// keepAlive Timer, 2 seconds 0x02, 0x00// keepAlive Timer, 2 seconds
}); });