Mercurial > hg > Members > riono > TreeVNC_ja_comment
annotate src/viewer_swing/java/com/glavsoft/viewer/ViewerInterface.java @ 455:6f3d3da40940
fix cui and hasViewer flag
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 22 Jun 2016 12:29:57 +0900 |
parents | 344a35b7c47f |
children | 34277b436cac |
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; |
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
|
5 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
|
6 |
301 | 7 import java.awt.*; |
174 | 8 import java.io.IOException; |
65 | 9 import java.net.Socket; |
301 | 10 import java.util.ArrayList; |
65 | 11 |
153 | 12 public interface ViewerInterface extends Runnable { |
65 | 13 |
225 | 14 public boolean getCuiVersion(); |
65 | 15 |
207 | 16 public TreeRFBProto getRfb(); |
65 | 17 |
18 public void closeApp(); | |
19 | |
20 public void setSocket(Socket soc); | |
21 | |
22 public void run(); | |
23 | |
328
1a2ab6bd5ba3
add function lost child node, remove deadChild nodeList.
oc
parents:
317
diff
changeset
|
24 public void setTerminationType(boolean b); |
65 | 25 |
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
|
26 void setCuiVersion(boolean flag); |
79 | 27 |
379 | 28 public void startTreeViewer(String hostName, boolean b, boolean addSerialNum); |
79 | 29 |
174 | 30 public void connectToParenet(int port, String hostname) throws IOException; |
31 | |
428
f6a828dd37b0
Change timing for setting share screen info
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
427
diff
changeset
|
32 public void inhelitClients(String hostName, short newVNCServerId, int x, int y, int width, int height, int scale); |
174 | 33 |
455
6f3d3da40940
fix cui and hasViewer flag
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
448
diff
changeset
|
34 public void proxyStart(String[] args, String hostName, int width, int height, boolean showTree, boolean checkDelay, boolean addSerialNum, boolean fixingSize, boolean filterSingleDisplay, boolean hasViewer); |
175 | 35 |
176 | 36 public void setNoConnection(boolean noConnection); |
37 | |
192 | 38 public void setVisible(boolean b); |
39 | |
202 | 40 public Socket getVNCSocket(); |
41 | |
204
d9d234715853
TreeManager for each interface
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
202
diff
changeset
|
42 public boolean getShowTree(); |
d9d234715853
TreeManager for each interface
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
202
diff
changeset
|
43 |
225 | 44 public void setWidth(int width); |
45 | |
46 public void setHeight(int height); | |
47 | |
257 | 48 public void setFixingSize(int width, int height); |
317 | 49 |
50 public void setFitScreen(); | |
257 | 51 |
301 | 52 public ArrayList<Rectangle> getScreenRectangles(); |
363 | 53 |
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
|
54 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
|
55 |
370 | 56 public ConnectionPresenter getConnectionPresenter(); |
369 | 57 |
370 | 58 public void setConnectionPresenter(ConnectionPresenter connectionPresenter); |
383 | 59 |
428
f6a828dd37b0
Change timing for setting share screen info
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
427
diff
changeset
|
60 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
|
61 |
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
|
62 |
65 | 63 } |