Mercurial > hg > Members > riono > TreeVNC_ja_comment
annotate src/viewer_swing/java/com/glavsoft/viewer/ViewerInterface.java @ 514:887ebd993b3d
separate rfb broadcast
author | mir3636 |
---|---|
date | Thu, 21 Feb 2019 16:52:21 +0900 |
parents | 16f9b37ef43b |
children |
rev | line source |
---|---|
65 | 1 package com.glavsoft.viewer; |
2 | |
448
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
3 import com.glavsoft.transport.Reader; |
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
4 import com.glavsoft.transport.Writer; |
514 | 5 import jp.ac.u_ryukyu.treevnc.BroadcastRFBListener; |
448
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
6 import jp.ac.u_ryukyu.treevnc.TreeRFBProto; |
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
7 |
301 | 8 import java.awt.*; |
174 | 9 import java.io.IOException; |
65 | 10 import java.net.Socket; |
301 | 11 import java.util.ArrayList; |
65 | 12 |
153 | 13 public interface ViewerInterface extends Runnable { |
65 | 14 |
225 | 15 public boolean getCuiVersion(); |
65 | 16 |
207 | 17 public TreeRFBProto getRfb(); |
65 | 18 |
19 public void closeApp(); | |
20 | |
21 public void setSocket(Socket soc); | |
22 | |
23 public void run(); | |
24 | |
328
1a2ab6bd5ba3
add function lost child node, remove deadChild nodeList.
oc
parents:
317
diff
changeset
|
25 public void setTerminationType(boolean b); |
65 | 26 |
448
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
27 void setCuiVersion(boolean flag); |
79 | 28 |
379 | 29 public void startTreeViewer(String hostName, boolean b, boolean addSerialNum); |
79 | 30 |
174 | 31 public void connectToParenet(int port, String hostname) throws IOException; |
32 | |
428
f6a828dd37b0
Change timing for setting share screen info
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
427
diff
changeset
|
33 public void inhelitClients(String hostName, short newVNCServerId, int x, int y, int width, int height, int scale); |
174 | 34 |
455
6f3d3da40940
fix cui and hasViewer flag
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
448
diff
changeset
|
35 public void proxyStart(String[] args, String hostName, int width, int height, boolean showTree, boolean checkDelay, boolean addSerialNum, boolean fixingSize, boolean filterSingleDisplay, boolean hasViewer); |
175 | 36 |
176 | 37 public void setNoConnection(boolean noConnection); |
38 | |
192 | 39 public void setVisible(boolean b); |
40 | |
202 | 41 public Socket getVNCSocket(); |
42 | |
204
d9d234715853
TreeManager for each interface
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
202
diff
changeset
|
43 public boolean getShowTree(); |
d9d234715853
TreeManager for each interface
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
202
diff
changeset
|
44 |
225 | 45 public void setWidth(int width); |
46 | |
47 public void setHeight(int height); | |
48 | |
257 | 49 public void setFixingSize(int width, int height); |
317 | 50 |
51 public void setFitScreen(); | |
257 | 52 |
458 | 53 public ArrayList<FbRectangle> getScreenRectangles(); |
363 | 54 |
448
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
55 public Point getScreenOffset(ArrayList<Rectangle> rectangles); |
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
56 |
456
34277b436cac
Using retina scale to share screnn if minus postion
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
455
diff
changeset
|
57 public int retinaScale(int shareScreenNumber); |
34277b436cac
Using retina scale to share screnn if minus postion
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
455
diff
changeset
|
58 |
370 | 59 public ConnectionPresenter getConnectionPresenter(); |
369 | 60 |
370 | 61 public void setConnectionPresenter(ConnectionPresenter connectionPresenter); |
383 | 62 |
428
f6a828dd37b0
Change timing for setting share screen info
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
427
diff
changeset
|
63 void changeToDirectConnectedServer(String hostName, Reader is, Writer os, int x, int y, int width, int height, int scale); |
448
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
64 |
512 | 65 public void setUseMulticast(boolean useMulticast) ; |
448
344a35b7c47f
send both frame buffer size and selected screen size in Disktop size change (INIT_DATA)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
428
diff
changeset
|
66 |
512 | 67 public boolean getUseMulticast(); |
514 | 68 |
69 BroadcastRFBListener getRfbBroadcastListener(); | |
65 | 70 } |