Mercurial > hg > Database > Alice
view src/alice/topology/HostMessage.java @ 274:f866178f3018
success to reconnect
author | sugi |
---|---|
date | Sun, 29 Sep 2013 17:17:10 +0900 |
parents | 709936c00c89 |
children |
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 reverseName; public String absName; public boolean reconnectFlag = false; 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 void setABSName(String name){ absName = name; } public String getABSName(){ return absName; } public void setFlag(){ this.reconnectFlag = true; } }