changeset 44:3e41bb95119b

add tags
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Mon, 30 Apr 2012 12:33:21 +0900
parents a18562996c0e
children 21fa49d9e0f3 8e428412775f
files src/treeVnc/DataInputStream1.java src/treeVnc/MyDataInputStream.java src/treeVnc/RfbProto.java
diffstat 3 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/treeVnc/DataInputStream1.java	Mon Apr 30 12:33:13 2012 +0900
+++ b/src/treeVnc/DataInputStream1.java	Mon Apr 30 12:33:21 2012 +0900
@@ -56,8 +56,8 @@
 	}
 
 	@Override
-	public void reset() {
-		// TODO Auto-generated method stub
+	public void reset() throws IOException {
+		is.reset();
 		
 	}
 
--- a/src/treeVnc/MyDataInputStream.java	Mon Apr 30 12:33:13 2012 +0900
+++ b/src/treeVnc/MyDataInputStream.java	Mon Apr 30 12:33:21 2012 +0900
@@ -21,5 +21,5 @@
 
 	void mark(int i);
 
-	void reset();
+	void reset() throws IOException;
 }
--- a/src/treeVnc/RfbProto.java	Mon Apr 30 12:33:13 2012 +0900
+++ b/src/treeVnc/RfbProto.java	Mon Apr 30 12:33:21 2012 +0900
@@ -136,7 +136,8 @@
 	// only via RfbProto methods. We have to do this because we want to
 	// count how many bytes were read.
 //	private DataInputStream is;
-	protected MyDataInputStream is;
+//	protected MyDataInputStream is;
+	protected DataInputStream1 is;
 //	private long numBytesRead = 0;
 	protected long numBytesRead = 0;