comparison src/myVncProxy/VncProxyService.java @ 73:6fc4272db7e2

change class name
author Yu Taninari <e085734@ie.u-ryukyu.ac.jp>
date Tue, 26 Jul 2011 22:41:15 +0900
parents 3ec4c9e94462
children 6e703f1000e7
comparison
equal deleted inserted replaced
72:e07844f7d884 73:6fc4272db7e2
27 MyRfbProto rfb; 27 MyRfbProto rfb;
28 Thread rfbThread; 28 Thread rfbThread;
29 Thread accThread; 29 Thread accThread;
30 Thread clientThread; 30 Thread clientThread;
31 CreateThread geth; 31 CreateThread geth;
32 acceptClient acc; 32 AcceptClient acc;
33 33
34 Frame vncFrame; 34 Frame vncFrame;
35 Container vncContainer; 35 Container vncContainer;
36 ScrollPane desktopScrollPane; 36 ScrollPane desktopScrollPane;
37 GridBagLayout gridbag; 37 GridBagLayout gridbag;
103 fatalError("Network error: could not connect to server: " + host 103 fatalError("Network error: could not connect to server: " + host
104 + ":" + port, e); 104 + ":" + port, e);
105 }catch(Exception e){} 105 }catch(Exception e){}
106 106
107 rfbThread = new Thread(this); 107 rfbThread = new Thread(this);
108 accThread = new Thread(new acceptThread(rfb)); 108 accThread = new Thread(new AcceptThread(rfb));
109 109
110 } 110 }
111 111
112 public void start_threads(){ 112 public void start_threads(){
113 rfbThread.start(); 113 rfbThread.start();
195 // 195 //
196 // Connect to the RFB server and authenticate the user. 196 // Connect to the RFB server and authenticate the user.
197 // 197 //
198 198
199 void connectAndAuthenticate() throws Exception { 199 void connectAndAuthenticate() throws Exception {
200 acc = new acceptClient(mainArgs[0]); 200 acc = new AcceptClient(mainArgs[0]);
201 geth = new CreateThread(acc); 201 geth = new CreateThread(acc);
202 Thread thread = new Thread(geth); 202 Thread thread = new Thread(geth);
203 thread.start(); 203 thread.start();
204 204
205 205