Mercurial > hg > Applications > TreeVNC
diff src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java @ 178:34b7558aeffa
remove TreeTask, StartTreeHandling
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 22 Jun 2014 19:05:04 +0900 |
parents | 8019a393875a |
children | c1b91dd27a13 |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java Sun Jun 22 16:48:38 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java Sun Jun 22 19:05:04 2014 +0900 @@ -55,6 +55,7 @@ private boolean firstTime = true; private TreeRootFinderListener getCast; private CreateConnectionParam cp; + private boolean hasViewer = false; public MyRfbProto() { @@ -649,7 +650,7 @@ } public void initRoot(ViewerInterface vncProxyService, String hostName) { - treeManager = new TreeManagement(hostName, ConnectionParams.DEFAULT_VNC_ROOT,this); + treeManager = new TreeManagement(hostName, ConnectionParams.DEFAULT_VNC_ROOT); vncProxyService.initRootViewer(hostName); createConnectionAndStart(vncProxyService); } @@ -666,5 +667,13 @@ return cp; } + public boolean hasViewer() { + return hasViewer; + } + + public void setHasViewer(boolean b) { + hasViewer = b; + } + }