# HG changeset patch # User Miwa Oshiro # Date 1423723735 -32400 # Node ID 1f86df6504b7401a85d5ebe390709d0f9ca47672 # Parent 47e35190922724618d95ec2e010e9e1e1995abfb don't use clearChildrenTransmission() diff -r 47e351909227 -r 1f86df6504b7 src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java --- 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()); diff -r 47e351909227 -r 1f86df6504b7 src/main/java/com/glavsoft/rfb/protocol/SenderTask.java --- a/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java Tue Feb 10 18:18:49 2015 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java Thu Feb 12 15:48:55 2015 +0900 @@ -68,9 +68,9 @@ System.out.println("cannot get ClientToServerMessage."); } catch (TransportException e) { System.out.println("cannot send ClientToServerMessage."); - Logger.getLogger(getClass().getName()).severe("Close session: " + e.getMessage()); + Logger.getLogger(getClass().getName()).severe("Close session : SenderTask : " + e.getMessage()); if (isRunning) { - protocolContext.cleanUpSession("Connection closed"); + protocolContext.cleanUpSession("Connection closed : cleanUpSession"); } stopTask(); } catch (Throwable te) {