Mercurial > hg > Applications > TightVNC_orginal
changeset 27:85958cba5d15
Create new constructor in TreeTask
author | one |
---|---|
date | Fri, 31 Aug 2012 18:21:20 +0900 |
parents | 73b13bc335c2 |
children | 18fad65bc447 |
files | src/main/java/com/glavsoft/rfb/protocol/TreeTask.java src/main/java/jp/ac/u_ryukyu/treevnc/server/VncProxyService.java |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/TreeTask.java Thu Aug 30 16:51:46 2012 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/TreeTask.java Fri Aug 31 18:21:20 2012 +0900 @@ -16,8 +16,8 @@ public TreeTask(Reader reader, IRepaintController repaintController, ClipboardController clipboardController, DecodersContainer decoders, ProtocolContext context, MyRfbProtoProxy rfb) { - super(reader, new NullRepaintController(), clipboardController, decoders, - context, true); + super(reader, repaintController, clipboardController, decoders,context, true); + //super(reader, new NullRepaintController(), clipboardController, decoders,context, true); Decoder decoder = new ZRLEESender(rfb); decoders.setDecoderByType(EncodingType.ZLIB, decoder); decoders.setDecoderByType(EncodingType.ZRLE, decoder);
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/server/VncProxyService.java Thu Aug 30 16:51:46 2012 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/server/VncProxyService.java Fri Aug 31 18:21:20 2012 +0900 @@ -137,6 +137,7 @@ Thread thread = new Thread(new CreateThread(aClient)); thread.start(); workingProtocol.handshake(); + rfb.setProtocolContext(workingProtocol); // input into change parents ClipboardControllerImpl clipboardController =