Mercurial > hg > Members > nobuyasu > tightVNCProxy
diff src/myVncProxy/MyRfbProto.java @ 152:fb1a62154851
merge 151
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 10 Sep 2011 04:16:19 +0900 |
parents | db5f735fd2b4 f68f63c298d0 |
children | 881e5b87ee42 |
line wrap: on
line diff
--- a/src/myVncProxy/MyRfbProto.java Sat Sep 10 04:13:50 2011 +0900 +++ b/src/myVncProxy/MyRfbProto.java Sat Sep 10 04:16:19 2011 +0900 @@ -599,6 +599,7 @@ * ZRLEE compression is not context dependent, so no recompression is necessary. */ void readSendData(int dataLen) throws IOException, DataFormatException { + LinkedList<ByteBuffer>bufs = new LinkedList<ByteBuffer>(); ByteBuffer header = ByteBuffer.allocate(16); readFully(header.array(),0,16); @@ -649,6 +650,7 @@ // but it may generate too many large data. It is better to do it in each client. // But we have do inflation for all input data, so we have to do it here. } + void newClient(AcceptThread acceptThread, final Socket newCli, final OutputStream os, final InputStream is) throws IOException {