diff src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java @ 347:1f86df6504b7

don't use clearChildrenTransmission()
author Miwa Oshiro <oshiro1122@gmail.com>
date Thu, 12 Feb 2015 15:48:55 +0900
parents 47e351909227
children 6f67d602b8e9
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java	Tue Feb 10 18:18:49 2015 +0900
+++ b/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java	Thu Feb 12 15:48:55 2015 +0900
@@ -153,7 +153,7 @@
                         logger.severe("Unsupported server message. Id = " + messageId);
                 }
             } catch (TransportException e) {
-                logger.severe("Close session: " + e.getMessage());
+                logger.severe("Close session : ReceiverTask : " + e.getMessage());
                 if(!rfb.isTreeManager() && !(rfb.getTerminationType())) {
                     System.out.println("death parent node, wait connect new parent node.");
                     // close viewer
@@ -262,7 +262,7 @@
                         repaintController.updateRemoteDesktopName(rfb.getContext());
                         reader.reset();
                         // All children multicastqueue should be discarded hear.
-                        rfb.clearChildrenTransmission();
+//                        rfb.clearChildrenTransmission();
                         rfb.readSendData(length + 20, reader, null, rect); // size of UpdateRectangleMessage with initData.
                         short id = (short) rect.x;
                         visible = (id != rfb.getId());