Mercurial > hg > Database > Alice
view src/alice/topology/HostMessage.java @ 28:98ab26e09a98
Configuration Manager work and implements reverseKey
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Jan 2012 08:41:34 +0900 |
parents | 2ca2d961a8d2 |
children | c0712e0b0a24 |
line wrap: on
line source
package alice.topology; import org.msgpack.annotation.Message; import org.msgpack.annotation.Optional; @Message public class HostMessage { public String name; public int port; @Optional public String connectionName; @Optional public String reverseName; public HostMessage() { } public HostMessage(String name, int port) { this.name = name; this.port = port; } public HostMessage(String name, int port, String connectionName, String reverseName) { this.name = name; this.port = port; this.connectionName = connectionName; this.reverseName = reverseName; } }