Fix incorrect protocol description in FlowRequestData writer/decoder (#1607)

Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
This commit is contained in:
ZhiQiang Gu 2020-07-16 15:48:18 +08:00 committed by GitHub
parent ccd029ed0a
commit c7949f5f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import io.netty.buffer.ByteBuf;
/** /**
* +-------------------+--------------+----------------+---------------+------------------+ * +-------------------+--------------+----------------+---------------+------------------+
* | RequestID(8 byte) | Type(1 byte) | FlowID(4 byte) | Count(4 byte) | PriorityFlag (1) | * | RequestID(8 byte) | Type(1 byte) | FlowID(8 byte) | Count(4 byte) | PriorityFlag (1) |
* +-------------------+--------------+----------------+---------------+------------------+ * +-------------------+--------------+----------------+---------------+------------------+
* *
* @author Eric Zhao * @author Eric Zhao

View File

@ -25,7 +25,7 @@ import io.netty.buffer.ByteBuf;
* Decoder for {@link FlowRequestData} from {@code ByteBuf} stream. The layout: * Decoder for {@link FlowRequestData} from {@code ByteBuf} stream. The layout:
* </p> * </p>
* <pre> * <pre>
* | flow ID (4) | count (4) | priority flag (1) | * | flow ID (8) | count (4) | priority flag (1) |
* </pre> * </pre>
* *
* @author Eric Zhao * @author Eric Zhao