diff src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java @ 506:3fe7e1a372df

Multicast CUI
author toubaru
date Tue, 19 Feb 2019 15:59:50 +0900
parents 37b1e8cbc6bb
children
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java	Mon Feb 18 18:46:23 2019 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java	Tue Feb 19 15:59:50 2019 +0900
@@ -64,6 +64,8 @@
     private NetworkConnectionWorker networkConnectionWorker;
     private boolean needReconnection = true;
     private boolean isTreeVNC = false;
+
+    private boolean useMulticast = false;
     private boolean cuiVersion;
     private boolean noConnection = false;
     public ViewerInterface viewer;
@@ -461,4 +463,11 @@
         this.singleHeight = signleHeight;
     }
 
+    public void setMulticast(boolean b) {
+        useMulticast = b;
+    }
+
+    public boolean isUseMulticast() {
+        return useMulticast;
+    }
 }