I2NP: Add msg ID to all build msg toString()

This commit is contained in:
zzz
2021-04-05 08:37:28 -04:00
parent 857f52bbf7
commit e16c80516d
5 changed files with 10 additions and 5 deletions

View File

@@ -120,7 +120,8 @@ public class InboundTunnelBuildMessage extends TunnelBuildMessage {
public String toString() {
StringBuilder buf = new StringBuilder(64);
buf.append("[InboundTunnelBuildMessage: " +
"\n\tRecords: ").append(getRecordCount())
"\n\tID: ").append(getUniqueId())
.append("\n\tRecords: ").append(getRecordCount())
.append(']');
return buf.toString();
}

View File

@@ -120,7 +120,8 @@ public class OutboundTunnelBuildReplyMessage extends TunnelBuildReplyMessage {
public String toString() {
StringBuilder buf = new StringBuilder(64);
buf.append("[OutboundTunnelBuildReplyMessage: " +
"\n\tRecords: ").append(getRecordCount())
"\n\tID: ").append(getUniqueId())
.append("\n\tRecords: ").append(getRecordCount())
.append(']');
return buf.toString();
}

View File

@@ -66,7 +66,8 @@ public class ShortTunnelBuildMessage extends TunnelBuildMessage {
public String toString() {
StringBuilder buf = new StringBuilder(64);
buf.append("[ShortTunnelBuildMessage: " +
"\n\tRecords: ").append(getRecordCount())
"\n\tID: ").append(getUniqueId())
.append("\n\tRecords: ").append(getRecordCount())
.append(']');
return buf.toString();
}

View File

@@ -59,7 +59,8 @@ public class VariableTunnelBuildMessage extends TunnelBuildMessage {
public String toString() {
StringBuilder buf = new StringBuilder(64);
buf.append("[VariableTunnelBuildMessage: " +
"\n\tRecords: ").append(getRecordCount())
"\n\tID: ").append(getUniqueId())
.append("\n\tRecords: ").append(getRecordCount())
.append(']');
return buf.toString();
}

View File

@@ -62,7 +62,8 @@ public class VariableTunnelBuildReplyMessage extends TunnelBuildReplyMessage {
public String toString() {
StringBuilder buf = new StringBuilder(64);
buf.append("[VariableTunnelBuildReplyMessage: " +
"\n\tRecords: ").append(getRecordCount())
"\n\tID: ").append(getUniqueId())
.append("\n\tRecords: ").append(getRecordCount())
.append(']');
return buf.toString();
}