Mercurial > hg > Applications > TreeVNC
comparison src/main/java/jp/ac/u_ryukyu/treevnc/MyRfbProto.java @ 112:918dc3ee1c79
send composed data.
author | oc |
---|---|
date | Fri, 23 May 2014 21:48:50 +0900 |
parents | a7988d3c0266 |
children | bce2ef0a2e79 |
comparison
equal
deleted
inserted
replaced
111:a7988d3c0266 | 112:918dc3ee1c79 |
---|---|
263 } | 263 } |
264 return rfbMinor; | 264 return rfbMinor; |
265 } | 265 } |
266 | 266 |
267 public void screenChangeRequest() throws TransportException { | 267 public void screenChangeRequest() throws TransportException { |
268 new ScreenChangeRequest(echo.getMyAddress().getBytes()).send(context.getWriter()); | 268 String adr = echo.getMyAddress(); |
269 new ScreenChangeRequest(adr).send(context.getWriter()); | |
269 } | 270 } |
270 | 271 |
271 private void sendProxyFlag(Writer writer) throws TransportException { | 272 private void sendProxyFlag(Writer writer) throws TransportException { |
272 if (proxyFlag) | 273 if (proxyFlag) |
273 writer.writeInt(1); | 274 writer.writeInt(1); |