Mercurial > hg > Database > Christie
diff src/main/java/christie/topology/HostMessage.java @ 50:8dfd93810041
fix config and HostMessage
author | akahori |
---|---|
date | Thu, 23 Aug 2018 09:30:36 +0900 |
parents | 342931aea0b8 |
children | f884c1bd0d36 |
line wrap: on
line diff
--- a/src/main/java/christie/topology/HostMessage.java Thu Aug 23 09:29:05 2018 +0900 +++ b/src/main/java/christie/topology/HostMessage.java Thu Aug 23 09:30:36 2018 +0900 @@ -5,7 +5,7 @@ @Message public class HostMessage { - public String name; + public String hostName; public int port; public String connectionName; @@ -19,12 +19,12 @@ public HostMessage() { } public HostMessage(String name, int port) { - this.name = name; + this.hostName = name; this.port = port; } public HostMessage(String name, int port, String connectionName, String reverseName) { - this.name = name; + this.hostName = name; this.port = port; this.connectionName = connectionName; this.reverseName = reverseName; @@ -35,7 +35,7 @@ } public String toString() { - return "HostMessage : name = " + name + ", port = " + Integer.toString(port) + " connectionName = " + + return "HostMessage : name = " + hostName + ", port = " + Integer.toString(port) + " connectionName = " + connectionName + " absName = " + absName + "reverseName = " + reverseName + " remoteAbsName = " + remoteAbsName + " cokkie = " + cookie ; }