Mercurial > hg > Applications > TreeVNC
diff src/main/java/jp/ac/u_ryukyu/treevnc/CreateConnectionParam.java @ 153:e68dfd1972ac
fix bad names.
author | oc |
---|---|
date | Fri, 13 Jun 2014 18:04:42 +0900 |
parents | 1291cf1122ca |
children | 7cea8789387b |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/CreateConnectionParam.java Fri Jun 13 17:27:41 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/CreateConnectionParam.java Fri Jun 13 18:04:42 2014 +0900 @@ -2,7 +2,7 @@ import java.io.IOException; -import com.glavsoft.viewer.ViewerImpl; +import com.glavsoft.viewer.ViewerInterface; import com.glavsoft.viewer.swing.ConnectionParams; import jp.ac.u_ryukyu.treevnc.client.FindRoot; @@ -32,7 +32,7 @@ * Incoming CONNECT_TO message is handled in MyRFBProto * @param v */ - public void createConnectionParam(ViewerImpl v) { + public void createConnectionParam(ViewerInterface v) { TreeVncProtocol echo = new TreeVncProtocol(hostName,portNumber); rfb.setEcho(echo); try { @@ -42,10 +42,10 @@ } } - public void runAcceptThread() { + public void runTreeVncCommandListener() { rfb.selectPort(ConnectionParams.DEFAULT_VNC_ROOT); - AcceptThread acceptThread = new AcceptThread(rfb, rfb.getAcceptPort()); - accThread = new Thread(acceptThread); + TreeVncCommandCannelListener acceptThread = new TreeVncCommandCannelListener(rfb, rfb.getAcceptPort()); + accThread = new Thread(acceptThread, "tree-vnc-command-listener"); accThread.start(); }