Mercurial > hg > Members > riono > TreeVNC_ja_comment
comparison src/main/java/com/glavsoft/rfb/protocol/Protocol.java @ 195:a204b53a30c7
set connectTo localhostname.
author | oc |
---|---|
date | Thu, 26 Jun 2014 19:20:23 +0900 |
parents | 34b7558aeffa |
children | b31903e5b02d |
comparison
equal
deleted
inserted
replaced
194:b038aafeb2b0 | 195:a204b53a30c7 |
---|---|
179 * finished processing one FramebufferUpdate and is ready to process another. | 179 * finished processing one FramebufferUpdate and is ready to process another. |
180 * With a fast client, the rate at which FramebufferUpdateRequests are sent | 180 * With a fast client, the rate at which FramebufferUpdateRequests are sent |
181 * should be regulated to avoid hogging the network. | 181 * should be regulated to avoid hogging the network. |
182 */ | 182 */ |
183 public void startNormalHandling(IRfbSessionListener rfbSessionListener, | 183 public void startNormalHandling(IRfbSessionListener rfbSessionListener, |
184 IRepaintController repaintController, ClipboardController clipboardController) { | 184 IRepaintController repaintController, ClipboardController clipboardController, |
185 receiverTask = new ReceiverTask( | 185 MyRfbProto rfb) |
186 { | |
187 receiverTask = new ReceiverTask( | |
186 reader, repaintController, | 188 reader, repaintController, |
187 clipboardController, | 189 clipboardController, |
188 decoders, this); | 190 decoders, this, rfb); |
189 startNormalHandling1(rfbSessionListener, repaintController, clipboardController); | 191 startNormalHandling1(rfbSessionListener, repaintController, clipboardController); |
190 } | 192 } |
191 | 193 |
192 public void startNormalHandling1(IRfbSessionListener rfbSessionListener, | 194 public void startNormalHandling1(IRfbSessionListener rfbSessionListener, |
193 IRepaintController repaintController, ClipboardController clipboardController) { | 195 IRepaintController repaintController, ClipboardController clipboardController) { |
194 this.rfbSessionListener = rfbSessionListener; | 196 this.rfbSessionListener = rfbSessionListener; |
334 @Override | 336 @Override |
335 public String getProtocolVersion() { | 337 public String getProtocolVersion() { |
336 return protocolVersion; | 338 return protocolVersion; |
337 } | 339 } |
338 | 340 |
339 public void startNormalHandling(IRfbSessionListener rfbSessionListener, | 341 |
340 IRepaintController repaintController, ClipboardController clipboardController, | |
341 MyRfbProto rfb) | |
342 { | |
343 receiverTask = new ReceiverTask( | |
344 reader, repaintController, | |
345 clipboardController, | |
346 decoders, this, rfb); | |
347 startNormalHandling1(rfbSessionListener, repaintController, clipboardController); | |
348 } | |
349 | 342 |
350 | 343 |
351 @Override | 344 @Override |
352 public void resetDecoder() { | 345 public void resetDecoder() { |
353 decoders.resetDecoders(); | 346 decoders.resetDecoders(); |