diff src/myVncProxy/ProxyVncCanvas.java @ 65:5fca2bb52dc7

create checkMillis
author e085711
date Fri, 22 Jul 2011 03:21:56 +0900
parents 626cf8cc002c
children 7632606406cb
line wrap: on
line diff
--- a/src/myVncProxy/ProxyVncCanvas.java	Tue Jul 12 13:47:32 2011 +0900
+++ b/src/myVncProxy/ProxyVncCanvas.java	Fri Jul 22 03:21:56 2011 +0900
@@ -360,18 +360,14 @@
 		// main dispatch loop
 		//
 
-
-		
-		
 		long count = 0;
 		while (true) {
 //			System.out.println("\ncount=" + count);
 
 			count++;
 			
-			/*
+			/**
 			 *  read Data from parents and send Data to Client.
-			 *  
 			 */
 			rfb.sendDataToClient();		
 
@@ -382,6 +378,10 @@
 
 			// Process the message depending on its type.
 			switch (msgType) {
+			case MyRfbProto.CheckMillis:
+				rfb.readCheckMillis();
+				
+				break;
 			case RfbProto.FramebufferUpdate:
 
 				if (statNumUpdates == viewer.debugStatsExcludeUpdates
@@ -504,7 +504,7 @@
 					setPixelFormat();
 					fullUpdateNeeded = true;
 				}
-*/				
+*/
 				
 				// Request framebuffer update if needed.
 				int w = rfb.framebufferWidth;