Mercurial > hg > Members > riono > TreeVNC_ja_comment
view src/main/java/jp/ac/u_ryukyu/treevnc/TreeVNCNode.java @ 471:c1b4befc5933
add sharingId
author | mir3636 |
---|---|
date | Wed, 03 Aug 2016 20:58:36 +0900 |
parents | f7210f834403 |
children |
line wrap: on
line source
package jp.ac.u_ryukyu.treevnc; public class TreeVNCNode { String hostname; int port; int treeNum; //tree position int id = 0; //unique node id in all trees String localhostname; public TreeVNCNode(String hostname, int port, String localhostname) { this.hostname = hostname; this.port = port; this.localhostname = localhostname; } public int getTreeNum() { return treeNum; } public void setTreeNum(int treeNum) { this.treeNum = treeNum; } public String getHostname() { return hostname; } public int getPort() { return port; } public void setPort(int acceptPort) { port = acceptPort; } public void setHostName(String localhostname) { hostname = localhostname; } public int getId() { return id; } public void setId(int id) { this.id = id; } }