Yuta HIGUCHI

Add TODO note

Change-Id: If600ac0f81bc25f9d1d2a6a3cbd9ffdbe19183cf
...@@ -8,12 +8,16 @@ import java.io.IOException; ...@@ -8,12 +8,16 @@ import java.io.IOException;
8 */ 8 */
9 public final class InternalMessage implements Message { 9 public final class InternalMessage implements Message {
10 10
11 + public static final String REPLY_MESSAGE_TYPE = "NETTY_MESSAGIG_REQUEST_REPLY";
12 +
11 private long id; 13 private long id;
12 private Endpoint sender; 14 private Endpoint sender;
13 private String type; 15 private String type;
14 private Object payload; 16 private Object payload;
17 +
15 private transient NettyMessagingService messagingService; 18 private transient NettyMessagingService messagingService;
16 - public static final String REPLY_MESSAGE_TYPE = "NETTY_MESSAGIG_REQUEST_REPLY"; 19 + // TODO: add transient payload serializer or change payload type to
20 + // byte[], ByteBuffer, etc.
17 21
18 // Must be created using the Builder. 22 // Must be created using the Builder.
19 private InternalMessage() {} 23 private InternalMessage() {}
......