diff src/myVncProxy/MyRfbProto.java @ 151:db5f735fd2b4

add xml-rpc.jar
author e085711
date Sat, 10 Sep 2011 04:13:50 +0900
parents c1d7d4fbcfb9
children fb1a62154851 4fca6f516880
line wrap: on
line diff
--- a/src/myVncProxy/MyRfbProto.java	Tue Sep 06 16:42:41 2011 +0900
+++ b/src/myVncProxy/MyRfbProto.java	Sat Sep 10 04:13:50 2011 +0900
@@ -367,7 +367,7 @@
 
 	void sendDataToClient() throws Exception {
 		regiFramebufferUpdate();
-//		printFramebufferUpdate();
+		printFramebufferUpdate();
 		int dataLen = checkAndMark();
 		readSendData(dataLen);		
 	}
@@ -609,7 +609,11 @@
 				ByteBuffer len = ByteBuffer.allocate(4);
 				readFully(len.array(),0,4); len.limit(4);
 				ByteBuffer inputData = ByteBuffer.allocate(dataLen-20);
+
+				startTiming();
 				readFully(inputData.array(),0,inputData.capacity()); inputData.limit(dataLen-20);
+				stopTiming();
+
 				LinkedList<ByteBuffer>inputs = new LinkedList<ByteBuffer>();
 				inputs.add(inputData);