* End-of-DataTreeCandidate serialization stream. The payload is empty.
*/
static final byte MSG_DTC_APPLY = 4;
+ /**
+ * Verify the connection is alive.
+ */
+ static final int MSG_PING = 5;
/**
* Length of the length field in each transmitted frame.
static final ByteBuf DTC_APPLY = Unpooled.unreleasableBuffer(Unpooled.wrappedBuffer(new byte[] { MSG_DTC_APPLY }));
+ static final ByteBuf PING = Unpooled.unreleasableBuffer(
+ Unpooled.wrappedBuffer(new byte[] { MSG_PING }));
+
private Constants() {
// Hidden on purpose
}