diff src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java @ 534:a3d0ba67e8cf

try 512 tiles / 256 tiles flush
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 06 May 2019 16:59:25 +0900
parents 4be31e107121
children
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java	Sun May 05 18:32:55 2019 +0900
+++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java	Mon May 06 16:59:25 2019 +0900
@@ -78,7 +78,9 @@
     private static int uniqueNodeId = 0; // uniquenodeid in all trees (less than MAX_UNIQUE_NODE_ID)
 
     private boolean stopBroadcast;
-    public boolean multicastBlocking = false;
+    // multicastBlocking is an internal test flag
+    //   perform blocking on TCP connection
+    public boolean multicastBlocking = true;
 
     public TreeRFBProto(boolean isTreeManager, ViewerInterface viewer) {
         nets.setMyRfb(this);
@@ -905,7 +907,7 @@
         setProtocolContext(workingProtocol);
         this.connectionPresenter = connectionPresenter;
         connectionPresenter.viewer.setConnectionPresenter(connectionPresenter);
-        if (connectionPresenter.isUseMulticast()) multicastBlocking = true;
+        // if (connectionPresenter.isUseMulticast()) multicastBlocking = true;
         connectionPresenter.addModel("ConnectionParamsModel", connectionPresenter.getConnectionParams());
         if (previousContext != null && isTreeManager() && hasParent()) {
             Reader previousReader = previousContext.getReader();