annotate Todo.txt @ 630:7071b01621c2 default tip

Determine ipv4 or ipv6 and fix scond display
author riono <e165729@ie.u-ryukyu.ac.jp>
date Tue, 28 Apr 2020 19:49:38 +0900
parents 710c26fd3ebe
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
629
710c26fd3ebe fix send lost parent state to root
ryokka
parents: 625
diff changeset
1 Sun Mar 22 19:18:07 JST 2020
710c26fd3ebe fix send lost parent state to root
ryokka
parents: 625
diff changeset
2 connect to は Viewer にある
710c26fd3ebe fix send lost parent state to root
ryokka
parents: 625
diff changeset
3 接続に失敗したら lost parent を実行する
710c26fd3ebe fix send lost parent state to root
ryokka
parents: 625
diff changeset
4 parent が生きてても lost parent を尊重する方向でいく
710c26fd3ebe fix send lost parent state to root
ryokka
parents: 625
diff changeset
5
710c26fd3ebe fix send lost parent state to root
ryokka
parents: 625
diff changeset
6
625
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
7 Mon Mar 9 18:29:02 JST 2020
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
8
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
9 Broadcast で統一する
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
10 TreeManager に client が Broadcast mode flag を作る
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
11 Multi display が壊れている
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
12
4d141e0b73cc fix todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 623
diff changeset
13
618
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
14 Sun Feb 23 07:15:03 JST 2020
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
15
623
120a31960494 add some println message
ryokka
parents: 618
diff changeset
16 IPv4/Pv6に二つ multicast socket を作る ←やらないほうがいい
618
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
17 multicast queue で送信する
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
18 番号付けるべきか? (drop rate が見れる)
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
19
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
20 つながる時とそうでない時がある
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
21 画面配信側の画面が消えないことがある
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
22   表示ログの見直し
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
23
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
24 iOS対応 (GraalVM?)
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
25
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
26 directConnect 時に broadcast base かどうかのフラグを送る
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
27
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
28 初期送信の遅れが大きい(sleep入ってる?)
0daf3ecab9d1 fix Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 615
diff changeset
29
615
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
30 Sat Feb 22 01:58:25 JST 2020
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
31
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
32 log
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
33 total update rectangle from server
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
34 compression rate
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
35 non-blocking packet
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
36 compression rate after blocking
e7d48fb40262 fix blocking
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 607
diff changeset
37
607
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
38 Wed Feb 19 06:42:34 JST 2020
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
39
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
40 TreeManager が見つからなかった時に何もしてない
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
41 multicast のない network の TreeManager がない。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
42 TreeManager を Multicast かどうかで二種類用意する
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
43
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
44 connection sec type とかが使えるかも
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 604
diff changeset
45
604
668ff8c17f46 fix Find root
riono
parents: 531
diff changeset
46 Tue Feb 18 16:13:15 JST 2020
531
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
47
604
668ff8c17f46 fix Find root
riono
parents: 531
diff changeset
48 NetworkInterfaceがマルチキャストをサポートしていたらマルチキャストを使用する
668ff8c17f46 fix Find root
riono
parents: 531
diff changeset
49 ただし、ダイレクトモードでアクセスしたら、streamする
668ff8c17f46 fix Find root
riono
parents: 531
diff changeset
50 ダイレクトモードアクセスかどうかの判断は難しい
531
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
51
522
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
52 Fri Feb 22 19:12:24 JST 2019
531
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
53
522
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
54 マルチキャストとストリームを混在させる
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
55 WhereToConnectMessage にマルチキャストのフラグを用意する
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
56 ストリームなノードはツリーのルートの近い方にまとめる
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
57 あるところより下はマルチキャストしかいないのでフレームアップデートを流さない
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
58 親ノードに接続する際に自分がマルチキャストかどうかを申告する
6677ce2c7017 stop frame buffer multicast listenner
mir3636
parents: 514
diff changeset
59
529
9de5137e1598 refactoring flushRectangle
anatofuz
parents: 522
diff changeset
60 RectangleHeaderを書き換える部分を作成する
9de5137e1598 refactoring flushRectangle
anatofuz
parents: 522
diff changeset
61
506
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
62 Tue Feb 19 15:01:43 JST 2019
531
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
63
506
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
64 マルチキャスト用のパラメーター
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
65 Packet size
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
66 Multicast Address
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
67 IPv6, IPv4
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
68 Command line
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
69
514
887ebd993b3d separate rfb broadcast
mir3636
parents: 506
diff changeset
70 複数のルートがあるときにマルチキャストポートを複数にする
887ebd993b3d separate rfb broadcast
mir3636
parents: 506
diff changeset
71 FindRootReply でそのポートを教える
506
3fe7e1a372df Multicast CUI
toubaru
parents: 487
diff changeset
72
487
59cde26249b1 accept change reconnectionId
oshiro
parents: 484
diff changeset
73 Wed Jan 30 18:55:55 JST 2019
531
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
74
487
59cde26249b1 accept change reconnectionId
oshiro
parents: 484
diff changeset
75 directconnection 時に nodeid を正しく設定する必要がある
59cde26249b1 accept change reconnectionId
oshiro
parents: 484
diff changeset
76
478
oshiro
parents: 431
diff changeset
77 Wed Nov 28 18:45:41 JST 2018
oshiro
parents: 431
diff changeset
78
483
b2f734f3eaf1 disable authentication dialog
oshiro
parents: 478
diff changeset
79 VNCサーバー側が死んだ時にTreeVNCが暴走する Done
484
4accfd4ea9c2 create RectangleBlocking class
oshiro
parents: 483
diff changeset
80 authenticationのポップアップがrootで上がってしまう Done
478
oshiro
parents: 431
diff changeset
81 SERVER_CHANGE_REQUESTでリクエスト側の画面が消えないことがある
oshiro
parents: 431
diff changeset
82 ディスプレイモードで立ち上げた時にも画面が開いた方が良い
oshiro
parents: 431
diff changeset
83 consolelogをlog4jに切り替える
oshiro
parents: 431
diff changeset
84
oshiro
parents: 431
diff changeset
85 Multicast mode
531
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
86 RFB.readsenddataでmulticastqueueにブロッキングしたデータを挿入する Done
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
87 multicastqueueをmulticastport に出力するスレッドを作成する Done
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
88 framebufferをcopyしないでブロッキングするメソッドを作成する Copyが正解
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
89 ReceiveData threadをmulticastportに対して走らせる Done
13d3c4341d14 remove .idea modules fix for loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 529
diff changeset
90 multicastするネットワークインターフェースを選択するUIを作成する 必要ない
478
oshiro
parents: 431
diff changeset
91
oshiro
parents: 431
diff changeset
92
431
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
93 Wed June 8 15:35 JST 2016 kono
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
94
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
95 Multi screen でfitScreen buttonは左では動く
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
96 右ではoriginがずれる
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
97
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
98 fitScreenをclient側で自動的に実行する
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
99 multi screenのoriginを考慮してfitScreenする
7eaa95ca7e45 trying to fix fitScreen
Nozomi
parents: 324
diff changeset
100
324
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
101 Wed Jan 28 15:35 JST 2015
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
102
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
103 < 現状の問題点 >
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
104 安定性の向上
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
105 無線時、切り替えが遅い
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
106 拡大・縮小が遅い done!
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
107 RenderingHint に set する値を、Quality から Speed にする done!
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
108 これを TreeVNC の setting から変更出来るようにする
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
109 FitButton の UI の確認 done!
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
110 -d の場合は常に画面に Fit するように設定 done!
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
111 テストの方法
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
112 linux、win で動くかどうか
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
113 VMWare で確認できる
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
114 catch節で正しい処理ができているか全てチェックする
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
115 TreeVNC起動中にPCを閉じると暴走する (再現しないから後回し)
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
116 log in の方法
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
117 log in 出来るようにする
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
118 log in できなかった場合、メッセージを出す
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
119 複数のネットワークインタフェースがある場合、繋がらないことがある
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
120 途中でネットワークインタフェースを立ち上げるとそれを検知する
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
121 log の情報不足の解決
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
122 < 拡張機能 >
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
123 ルータ越え
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
124 ルータ越えの際の UI の確認
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
125 音声共有
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
126 音声共有の際の UI の確認
1b1270adc4ba update Todo
oc
parents: 218
diff changeset
127
218
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
128 Fri Jul 4 19:39:28 JST 2014
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
129
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
130 ServerChangeRequest を sub tree 側が、自分向けに換えて、upper tree に送ると、
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
131 中間のtree root経由で、VNC server にリンクが届くので sub tree 側からの画面配信が可能になる。
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
132 ただし、木に loop ができるので、ServerChangeRequest を途中で停める必要がある。
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
133 真の root で停めるという手もあるが、自分の知ってるrootから来たものは上に送らないで良いか?
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
134
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
135 r
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
136 / \
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
137 n1 n2
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
138 /\ /\
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
139 n2 n3 n4 r' = n5
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
140 /\
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
141 n1' n2'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
142
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
143 n2' send SCR n2'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
144 Connect VNC r' -> n2'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
145 r' send SCR r'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
146 Connect VNC r -> r'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
147
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
148 n2'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
149 /
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
150 r' -> n2'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
151 / \
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
152 r n1'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
153 / \
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
154 n1 n2
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
155 /\ /
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
156 n2 n3 n4
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
157
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
158 r' send SCR r' to n2', n2' do not send SCR to r' becase r' is root of n2'
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
159
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
160 こうすれば、FrameBufferUpdate を SeverMessage として送る必要がなくなる。
3d7107b14595 update Todo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 216
diff changeset
161
215
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
162 Thu Jul 3 18:09:37 JST 2014
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
163
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
164 interface毎にtreemanagerをつくるので十分。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
165 subTreeを接続するときにはtreeのnodeにroot modeで直接つなぎにいく。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
166 これで自動的にlocalのroot managerになる。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
167 元のtreeとは干渉しない。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
168
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
169 sub treeの画面に切り替えることは現状できない。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
170 切り替えるためには、sub tree側から元のtreeにRfbUpdateを持ち上げなければならない。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
171 保留。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
172
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
173 同じnetworkにいるかどうかはwheretoconnectに変わったnetworkで接続しにきたときのみ対処する。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
174
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
175 duplicated rootは、subtreeを自分でつなげることにすれば必要ない。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
176
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
177 殺しきれていないThreadがある。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
178
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
179 動かしたままサスペンドすると暴走する。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
180 サスペンドしたマシンに
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
181
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
182 shareボタンを禁止するrootのオプションを、パネルから設定出来るように。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
183
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
184 shareする画面の大きさをHDサイズに限定するのをdefaultにする。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
185 オプションには定義してあるけれど正しく機能していない。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
186
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
187 checkdelayの機能を。
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
188 木をさかのぼるプロトコル
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
189 上から投げて、下からdelayの時間をあげていく
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
190 途中のnodeですべてのtreeを待ってから
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
191
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
192 subtreeからのshareの問題。
216
7016b70b996c update Todo
oc
parents: 215
diff changeset
193
7016b70b996c update Todo
oc
parents: 215
diff changeset
194 無線のみで-dをあげると、client側から接続できない。
215
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
195
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
196
209
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
197 Wed Jul 2 18:55:48 JST 2014
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
198
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
199 TreeRFBProtoのisTreeManagerはnetwork毎に変わる。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
200
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
201 clientが立ち上がったときにinterface address毎にTreeManagerを作成する。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
202 findRootして、既にTreeManagerがいたら、TreeManagerのisTreeManagerフラグを落とす。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
203 TreeManagerフラグがたっているinterfaceにたいしてはinterface rootとして振る舞う。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
204 findRootに答える。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
205 newClientとwhereToConnect、lostParentに応答する。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
206 真のrootはTreeRfb.isRootで判断する。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
207
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
208 newClientが来たら、newClientのnetwork addressをみて、同じネットワークかどうかを判断する。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
209 同じネットワークにいる場合は、tree nodeとして扱う。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
210 ネットワークが異なる場合は、順々にtree nodeの下につける。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
211
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
212 FindRootへの応答は、自分がTreeManagerである場合。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
213 応答を願ったnetwork addressからTreeManagerを検索して、それが合致し、TreeManagerであった場合に応答する。
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
214
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
215
196
012941447841 update Todo.
oc
parents: 193
diff changeset
216 Fri Jun 27 15:19:39 JST 2014
198
f5abf6ba9957 update Todo.
oc
parents: 197
diff changeset
217
205
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
218 拡大縮小ボタンのバグを取る。Done!
196
012941447841 update Todo.
oc
parents: 193
diff changeset
219
209
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
220 Multi-Network-Treeの作成 done!
7b106b4a0c9f update Todo
oc
parents: 205
diff changeset
221 socketからNetMaskを検出 done!
196
012941447841 update Todo.
oc
parents: 193
diff changeset
222 NetworkごとにTreeManagerを作成
012941447841 update Todo.
oc
parents: 193
diff changeset
223 複数のNetworkをもつNodeでは新しいNewtworkにTreeManagerを作成
012941447841 update Todo.
oc
parents: 193
diff changeset
224 FindRootにはTreeMangerが応答する
012941447841 update Todo.
oc
parents: 193
diff changeset
225 下位のNodeのChangeVnCServerはそのTreeManagerが処理する
012941447841 update Todo.
oc
parents: 193
diff changeset
226 上位にHostameがからのChangerVnCserverを投げる
205
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
227 UpdateRectanleを上位のNetworkに投げる
196
012941447841 update Todo.
oc
parents: 193
diff changeset
228 RootではUpdateRectangleを送り返す
012941447841 update Todo.
oc
parents: 193
diff changeset
229
205
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
230 myRfbProtoのselectPort()でnetworkinterfaceを検出する
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
231 myRfbProtoのvncConnected()でvnc port の interface と Network を検出する
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
232
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
233 自分が、そのnetworkのrootになる条件は?
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
234
196
012941447841 update Todo.
oc
parents: 193
diff changeset
235 treeManagerをnetworkのhashmapで持つ。
012941447841 update Todo.
oc
parents: 193
diff changeset
236 setTreeManagerにnetworkの引数を追加する
012941447841 update Todo.
oc
parents: 193
diff changeset
237
012941447841 update Todo.
oc
parents: 193
diff changeset
238 findRootで重複したrootを見つけたときに、
012941447841 update Todo.
oc
parents: 193
diff changeset
239 一番小さいアドレスだけをrootにする。
012941447841 update Todo.
oc
parents: 193
diff changeset
240 それ以外には、duplicated rootを送る。
197
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
241 この際、duplicated rootを送られたrootは生かしておくが、
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
242 find rootへの応答はやめる。
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
243 lostParentがきたら、find rootへの応答を再開する。
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
244 この際、生かしておくduplicated rootは二つに限る。
196
012941447841 update Todo.
oc
parents: 193
diff changeset
245
012941447841 update Todo.
oc
parents: 193
diff changeset
246 findRootReplyにはVNCServerのhostとportを含める。
012941447841 update Todo.
oc
parents: 193
diff changeset
247 両方共nullだった場合は両方別のものとして表示する。
012941447841 update Todo.
oc
parents: 193
diff changeset
248 異なるVNCServerはduplicate扱いしない。
012941447841 update Todo.
oc
parents: 193
diff changeset
249
012941447841 update Todo.
oc
parents: 193
diff changeset
250 duplicate root を受け取ったrootは、
012941447841 update Todo.
oc
parents: 193
diff changeset
251 rootであることをやめて、自分の子供にrequestWhereToConnectを送信する。
012941447841 update Todo.
oc
parents: 193
diff changeset
252
012941447841 update Todo.
oc
parents: 193
diff changeset
253 requestWhereToConnectを受け取ったnodeは
012941447841 update Todo.
oc
parents: 193
diff changeset
254 whererToConnectを再度送信する。
197
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
255
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
256 中間rootが死んだときには
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
257 下位のnodeはduplicated rootにつなげ直す。
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
258 もしduplicatedListになかったら、あきらめる。
bd5e3eb4cfa6 update Todo.
oc
parents: 196
diff changeset
259
205
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
260 TreeManager は interface 別に作る Done!
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
261 Network address が LAN 外なら、その下に node は作らない。( そちらで勝手に作るのはあり )
614db20d8fab try to separate Network management
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 198
diff changeset
262
196
012941447841 update Todo.
oc
parents: 193
diff changeset
263
193
5e652f5404e3 update Todo
oc
parents: 169
diff changeset
264 Thu Jun 25 20:55:00 JST 2014
5e652f5404e3 update Todo
oc
parents: 169
diff changeset
265
215
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
266 share screenした際に、rootのviewerが消えない。 done!
193
5e652f5404e3 update Todo
oc
parents: 169
diff changeset
267 殺しきれていないThreadがある。
5e652f5404e3 update Todo
oc
parents: 169
diff changeset
268
5e652f5404e3 update Todo
oc
parents: 169
diff changeset
269
165
93c6ba4d3bc4 UPDATE TODO
one
parents: 156
diff changeset
270 Thu Jun 19 08:12:02 JST 2014
166
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
271
169
8ab1f6905db4 Try to hide root frame
oc
parents: 167
diff changeset
272 Share Button を押した際に、JFrameのTitleを更新する。 Done
166
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
273 SwingViewerWindow.javaのsetRemoteDesktopName メソッドを呼べば解決するはず。
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
274
167
1d3fa20b86bb update remoteDesktopName.
oc
parents: 166
diff changeset
275 サーバが切り替わった際、画面のサイズ等の情報を送信する。(INIT_DATA) Done
166
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
276
215
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
277 -dオプションでviewerを別にあげるのをやめる。done
166
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
278 2つめのviewerの表示が滞るのをデバッグする
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
279 shareボタンを禁止するrootのオプションを、パネルから設定出来るように。
215
1badb2ce838f add poll timeout root-command-loop, client don"t send framebufferupdate.
oc
parents: 209
diff changeset
280 shareしたTreeVNCのパネルをinvisibleにする。 done
166
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
281 shareする画面の大きさをHDサイズに限定するのをdefaultにする。
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
282 fullサイズを転送するオプションに。
169
8ab1f6905db4 Try to hide root frame
oc
parents: 167
diff changeset
283 checkdelayの機能を。
166
26bc52699cf3 send initData to lower node.
oc
parents: 165
diff changeset
284
165
93c6ba4d3bc4 UPDATE TODO
one
parents: 156
diff changeset
285
153
e68dfd1972ac fix bad names.
oc
parents: 133
diff changeset
286 Fri Jun 13 17:29:02 JST 2014
e68dfd1972ac fix bad names.
oc
parents: 133
diff changeset
287
e68dfd1972ac fix bad names.
oc
parents: 133
diff changeset
288 AcceptThreadをMultiThread化する。(deadlockを防ぐため)
e68dfd1972ac fix bad names.
oc
parents: 133
diff changeset
289 TreeNodeが死んだときに、最後のNodeをそこに置き換える。
156
93d903877c6b update todo.
oc
parents: 153
diff changeset
290 clientをつなげたときにscreen sharingするバグを直す。
93d903877c6b update todo.
oc
parents: 153
diff changeset
291 無線LAN等の複数のネットワークを使えるようにする。
93d903877c6b update todo.
oc
parents: 153
diff changeset
292 無線LAN同士でtreeを構成しないようにパターンマッチをする。
153
e68dfd1972ac fix bad names.
oc
parents: 133
diff changeset
293
133
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
294 Sat Jun 7 11:47:56 JST 2014
123
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
295
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
296 Multicast で root を探す (FIND_ROOT)
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
297 その時に、自分の proxy port/host を付けておく
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
298 root は、それを client address/port として覚えておく (clients)
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
299 root は、そこに接続に来て、「自分のproxy port」を返す。(FIND_ROOT_REPLY)
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
300 これを check box に登録する
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
301 client は、それを選択して、root の proxy port に接続に行く (WHERE_TO_CONNECT)
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
302 そこから、root は、どこに接続に行くかを教えてくれる (CONNECT_TO)
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
303 今度は、そこにclientとして接続する (VERSION_MESSAGE )
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
304
133
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
305 FIND_ROOT (client multicast ) : int port; String hostname (client's address)
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
306
123
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
307 proxy port への接続では、client は自分から書かずに server からの version message を待つ
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
308 普通のVNCは cliet からは VERSION_MESSAGE が行くが、Tree VNC では、
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
309
133
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
310 FIND_ROOT_REPLY (root to client proxy port) : int port; String hostname (root's address)
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
311 WHERE_TO_CONNECT (clinet to root proxy port) : int port; String hostname (client's address)
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
312 CONNECT_TO (root to client ) : int port; String parentAddress (parent's address)
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
313 CONNECT_TO_AS_LEADER (root to client ) : int port; String parentAddress (parent's address)
123
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
314
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
315 が来ることになる。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
316
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
317 切断時は、子供のleaderが root のproxy port に聞きに行く
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
318
133
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
319 LOST_PARENT (client to root) : int port; String hostname
123
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
320
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
321 root は、接続変更が必要な node の proxy に CONNECT_TO を送る (木経由では送れない。切断されているので)
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
322
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
323 最終的な切断時では、 LOST_PARENT が大量に出てしまうはず。なので、CONNECT_TO は連続しては送らない。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
324
133
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
325 reportLastNode は CONNECT_TO で良い。(10001 port)
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
326 lostNodeConnection でも CONNECT_TO を使う
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
327
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
328 LOST_PARENT と PARENT_NOT_FOUND の違いはなんだ? LOST_PARENT は leader が出すようだけど。
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
329
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
330 CONNECT_TO で parentNum とか treeNum を送る必要はない。root 内部で接続アドレスから判断する。
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
331 なので、LOST_PARENT は hostname と port だけでよい。
70cbec526039 connection handling
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 123
diff changeset
332
109
457f9dfbf7ce minor fix.
oc
parents: 105
diff changeset
333 Fri May 23 19:32:24 JST 2014
114
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
334
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
335 checkdelay を再実装する
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
336
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
337 reconnect message が port 10001 を使っているが、これでは複数clientをホストで動かした時に動かない。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
338 どのportを使うかをrootに教える必要がある。
109
457f9dfbf7ce minor fix.
oc
parents: 105
diff changeset
339
123
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
340 9999も使われているようだ。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
341
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
342 普通にclientに接続に行けば、version handshake からスタートするはず。そこに、reconnection プロトコルを
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
343 挟める。MyRfbProto.readVersionMsg()。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
344
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
345 Recconection は
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
346 root は AcceptClient
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
347 client は EchoClient
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
348 で行われている(らしい)。まず、この名前をまともなものにする。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
349
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
350 reconnection は木の最後のノードを穴の空いたところに接続することで行われる。これは、逐次で行う必要がある。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
351 最後には、ほとんどは一斉に切断されるので、そこで破綻しないように注意する。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
352
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
353 root が client のノードとportを持っているかどうかが重要だが。
233e94a7b5ed add comment
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 114
diff changeset
354
109
457f9dfbf7ce minor fix.
oc
parents: 105
diff changeset
355
100
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
356 Thu May 22 21:20:39 JST 2014
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
357
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
358 1) zlibの同期が外れてる。
105
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
359 VncProxyService.javaのinhelitClients の中で
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
360 resetDecoderを呼び出せばいいが....
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
361 2) DesktopSize ではなく、同じプロトコルで initData を送る方が良い。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
362 2) initData の中の名前を見て、自分だったら、shareしたclientのscreenをhideする。
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
363
100
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
364
96
76e49dd9c9c5 Client resize without reconnection
oc
parents: 22
diff changeset
365 Wed May 22 16:14:25 JST 2014
76e49dd9c9c5 Client resize without reconnection
oc
parents: 22
diff changeset
366
100
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
367 1) 10001, 10002 における固定Portをなくす
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
368 2) 木を上に登る通信
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
369 3) ClientをCloseしないでresizeする
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
370
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
371 Update rectangle で desktop size を変更可能
101
34ced177381b update TODO
oc
parents: 100
diff changeset
372 このままで、pixel formatが変更されない
34ced177381b update TODO
oc
parents: 100
diff changeset
373 なのでserverInit をもう一度送るのがよいのではないか
96
76e49dd9c9c5 Client resize without reconnection
oc
parents: 22
diff changeset
374
100
3c5b53c80af1 fix TODO
oc
parents: 96
diff changeset
375 4) display modeでClient view(proxy + view)をあげる
96
76e49dd9c9c5 Client resize without reconnection
oc
parents: 22
diff changeset
376
22
acf1a9eb4710 comment
one
parents: 20
diff changeset
377 Wed Aug 29 23:32:36 JST 2012
acf1a9eb4710 comment
one
parents: 20
diff changeset
378
acf1a9eb4710 comment
one
parents: 20
diff changeset
379 ReceiverTask の framebufferUpdateMessage を、TreeTask に再現しないとだめ。
acf1a9eb4710 comment
one
parents: 20
diff changeset
380
20
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
381 Wed Aug 29 22:27:25 JST 2012
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
382
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
383 MyRfbProxy の os が初期化されていない (削除する方が良い)
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
384
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
385 initData が null ( 設定された時に、設定するべき)
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
386
98519d16a8c3 getInitData from ProtocolContext
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
387