Mercurial > hg > Database > Alice
view src/main/java/alice/topology/HostMessage.java @ 476:8968b24c1ce3 dispose
TODO is to fix ParentManager information
author | sugi |
---|---|
date | Tue, 02 Dec 2014 13:43:07 +0900 |
parents | fac27e395930 |
children | 1a860019b2fe ffa43f252492 e321c5ec9b58 |
line wrap: on
line source
package alice.topology; import org.msgpack.annotation.Message; @Message public class HostMessage { public String name; public int port; public String connectionName; public String absName; // this is absName which have these IP and port. public String reverseName; public String remoteAbsName; public String cookie; // MD5 public boolean alive; 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; } public boolean isAlive() { return alive; } }