comparison src/main/java/com/glavsoft/rfb/protocol/Protocol.java @ 56:913d0f663e74

12/9
author one
date Mon, 09 Dec 2013 16:09:06 +0900
parents 9fdb8ff88497
children 433c79184c05
comparison
equal deleted inserted replaced
55:9fdb8ff88497 56:913d0f663e74
199 logger.fine("sent: "+pixelFormat); 199 logger.fine("sent: "+pixelFormat);
200 200
201 sendSupportedEncodingsMessage(settings); 201 sendSupportedEncodingsMessage(settings);
202 settings.addListener(this); // to support pixel format (color depth), and encodings changes 202 settings.addListener(this); // to support pixel format (color depth), and encodings changes
203 settings.addListener(repaintController); 203 settings.addListener(repaintController);
204
205 sendRefreshMessage(); 204 sendRefreshMessage();
206 senderTask = new SenderTask(messageQueue, writer, this); 205 senderTask = new SenderTask(messageQueue, writer, this);
207 senderThread = new Thread(senderTask); 206 senderThread = new Thread(senderTask);
208 senderThread.start(); 207 senderThread.start();
209 decoders.resetDecoders(); 208 decoders.resetDecoders();
311 logger.fine("sent: "+pixelFormat); 310 logger.fine("sent: "+pixelFormat);
312 311
313 sendSupportedEncodingsMessage(settings); 312 sendSupportedEncodingsMessage(settings);
314 settings.addListener(this); // to support pixel format (color depth), and encodings changes 313 settings.addListener(this); // to support pixel format (color depth), and encodings changes
315 settings.addListener(surface); 314 settings.addListener(surface);
316
317 sendRefreshMessage(); 315 sendRefreshMessage();
318 senderTask = new SenderTask(messageQueue, writer, this); 316 senderTask = new SenderTask(messageQueue, writer, this);
319 senderThread = new Thread(senderTask); 317 senderThread = new Thread(senderTask);
320 senderThread.start(); 318 senderThread.start();
321 decoders.resetDecoders(); 319 decoders.resetDecoders();