Mercurial > hg > Members > tatsuki > Alice
view src/alice/topology/HostMessage.java @ 27:f54dcbebde3a
topology manager work!
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Jan 2012 03:52:39 +0900 |
parents | 2ca2d961a8d2 |
children | 98ab26e09a98 |
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; public HostMessage() { } public HostMessage(String name, int port) { this.name = name; this.port = port; } public HostMessage(String name, int port, String connectionName) { this.name = name; this.port = port; this.connectionName = connectionName; } }