Mercurial > hg > Applications > tvnjviewer
comparison src/main/java/com/glavsoft/rfb/protocol/Protocol.java @ 31:59cdd271f79c
change compressed DSM only pixel data
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 16 Nov 2015 23:02:29 +0900 |
parents | 45176f732171 |
children |
comparison
equal
deleted
inserted
replaced
28:e2de671a155d | 31:59cdd271f79c |
---|---|
193 clipboardController, | 193 clipboardController, |
194 decoders, this); | 194 decoders, this); |
195 receiverThread = new Thread(receiverTask, "RfbReceiverTask"); | 195 receiverThread = new Thread(receiverTask, "RfbReceiverTask"); |
196 receiverThread.start(); | 196 receiverThread.start(); |
197 // add | 197 // add |
198 ReceiveData rData = new ReceiveData(this, false, false); | 198 ReceiveData rData = new ReceiveData(this); |
199 DataSegment.getLocal().put("protocol", rData, null); | 199 DataSegment.getLocal().put("protocol", rData, false); |
200 } | 200 } |
201 | 201 |
202 private void correctServerPixelFormat() { | 202 private void correctServerPixelFormat() { |
203 // correct true color flag - we don't support color maps, so always set it up | 203 // correct true color flag - we don't support color maps, so always set it up |
204 serverPixelFormat.trueColourFlag = 1; | 204 serverPixelFormat.trueColourFlag = 1; |