changeset 183:1f583d6e0d1a

modify MulticastQueue.java : method poll()
author e085711
date Tue, 25 Oct 2011 17:33:47 +0900
parents 8a0e30e527e7
children 00e031baf065
files src/myVncProxy/MulticastQueue.java src/myVncProxy/MyRfbProto.java
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/myVncProxy/MulticastQueue.java	Tue Oct 25 04:51:23 2011 +0900
+++ b/src/myVncProxy/MulticastQueue.java	Tue Oct 25 17:33:47 2011 +0900
@@ -43,7 +43,8 @@
 				}catch(InterruptedException _e){
 					continue;
 				}
-				item = node.getItem();
+//				item = node.getItem();
+				item = next.getItem();				
 				node = next;
 			} while ( item == null);
 			return item;
--- a/src/myVncProxy/MyRfbProto.java	Tue Oct 25 04:51:23 2011 +0900
+++ b/src/myVncProxy/MyRfbProto.java	Tue Oct 25 17:33:47 2011 +0900
@@ -164,9 +164,6 @@
 			throw new IOException();
 		}
 		
-		
-		
-		
 	}
 
 	/*
@@ -463,7 +460,7 @@
 
 	void sendDataToClient() throws Exception {
 		regiFramebufferUpdate();
-//		printFramebufferUpdate();
+		printFramebufferUpdate();
 		int dataLen = checkAndMark();
 		readSendData(dataLen);		
 	}