NSAmelchev commented on code in PR #12827:
URL: https://github.com/apache/ignite/pull/12827#discussion_r2897908639


##########
modules/core/src/main/java/org/apache/ignite/internal/util/distributed/SingleNodeMessage.java:
##########
@@ -34,23 +33,27 @@
  * @see FullMessage
  * @see InitMessage
  */
-public class SingleNodeMessage<R extends Serializable> implements Message {
+public class SingleNodeMessage<R extends Message> implements Message {
     /** Initial channel message type (value is {@code 176}). */
     public static final short TYPE_CODE = 176;
 
     /** Process id. */
-    private UUID processId;
+    @Order(0)
+    UUID processId;
 
     /** Process type. */
-    private int type;
+    @Order(1)
+    int type;
 
     /** Single node response. */
-    private R resp;
+    @Order(value = 2, method = "response")
+    private Message resp;
 
     /** Error. */
-    private Throwable err;
+    @Order(3)
+    @Nullable ErrorMessage errMsg;
 
-    /** Empty constructor for marshalling purposes. */
+    /** Default constructor for {@link GridIoMessageFactory}. */

Review Comment:
   Fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to