Mercurial > hg > Members > you > BroadCastTreeVNC
comparison src/treeVnc/MyRfbProtoClient.java @ 2:5d72f4c7371d
befor change
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 07 Apr 2012 14:55:34 +0900 |
parents | 1d5cebe3bca0 |
children | 970d5ac80256 |
comparison
equal
deleted
inserted
replaced
1:1d5cebe3bca0 | 2:5d72f4c7371d |
---|---|
452 | 452 |
453 | 453 |
454 | 454 |
455 | 455 |
456 void regiFramebufferUpdate() throws IOException { | 456 void regiFramebufferUpdate() throws IOException { |
457 mcastStart(); | 457 //mcastStart(); |
458 is.mark(20); | 458 is.mark(20); |
459 messageType = readU8(); // 0 | 459 messageType = readU8(); // 0 |
460 skipBytes(1); // 1 | 460 skipBytes(1); // 1 |
461 rectangles = readU16(); // 2 | 461 rectangles = readU16(); // 2 |
462 rectX = readU16(); // 4 | 462 rectX = readU16(); // 4 |
833 // But we have do inflation for all input data, so we have to do it here. | 833 // But we have do inflation for all input data, so we have to do it here. |
834 } | 834 } |
835 | 835 |
836 public void newClient(AcceptThread acceptThread, final Socket newCli, | 836 public void newClient(AcceptThread acceptThread, final Socket newCli, |
837 final OutputStream os, final InputStream is) throws IOException { | 837 final OutputStream os, final InputStream is) throws IOException { |
838 mcastStart(); | 838 //mcastStart(); |
839 // createBimgFlag = true; | 839 // createBimgFlag = true; |
840 // rfb.addSockTmp(newCli); | 840 // rfb.addSockTmp(newCli); |
841 // addSock(newCli); | 841 // addSock(newCli); |
842 final int myId = clients; | 842 final int myId = clients; |
843 final MulticastQueue.Client <LinkedList<ByteBuffer>> c = multicastqueue.newClient(); | 843 final MulticastQueue.Client <LinkedList<ByteBuffer>> c = multicastqueue.newClient(); |