view src/main/java/alice/topology/HostMessage.java @ 402:ca2947303438 dispose

one node can work extendsTopology mode
author sugi
date Mon, 23 Jun 2014 14:02:36 +0900
parents 8f71c3e6f11d
children 539b7f5772c7
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 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;
	}
	
}