changeset 21:dc7e0c6fd208

VncProxyService
author e085711
date Thu, 21 Apr 2011 20:08:29 +0900
parents 361016476783
children 05ff813c04fe
files src/ProxyVncCanvas.java src/VncProxyService.java
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ProxyVncCanvas.java	Thu Apr 21 19:17:31 2011 +0900
+++ b/src/ProxyVncCanvas.java	Thu Apr 21 20:08:29 2011 +0900
@@ -359,14 +359,18 @@
 		}
 */
 
+		
+		 Thread accept = new Thread(new acceptThread(rfb)); 
+		 accept.start();
+		
 
 		while (true) {
 
-//			System.out.println("\ncount=" + count);
+			System.out.println("\ncount=" + count);
 			count++;
 			
 			rfb.regiFramebufferUpdate();
-//			rfb.printFramebufferUpdate();
+			rfb.printFramebufferUpdate();
 			
 			rfb.mark(10000000);
 
@@ -523,7 +527,7 @@
 				throw new Exception("Unknown RFB message type " + msgType);
 			}
 			bufSize = (int)rfb.getNumBytesRead() - bufSize;
-//			System.out.println("bufSize="+bufSize);
+			System.out.println("bufSize="+bufSize);
 			rfb.bufResetSend(bufSize);
 		}
 	}
--- a/src/VncProxyService.java	Thu Apr 21 19:17:31 2011 +0900
+++ b/src/VncProxyService.java	Thu Apr 21 20:08:29 2011 +0900
@@ -71,8 +71,7 @@
 		rfbThread = new Thread(this);
 		rfbThread.start();
 		
-		 Thread accept = new Thread(new acceptThread(rfb)); 
-		 accept.start();
+
 		
 	}