diff rep/EditorPlus.java @ 126:291c62984ba0

*** empty log message ***
author kono
date Wed, 27 Aug 2008 17:58:09 +0900
parents b774b87cc2c1
children dfed28488274
line wrap: on
line diff
--- a/rep/EditorPlus.java	Wed Aug 27 17:54:47 2008 +0900
+++ b/rep/EditorPlus.java	Wed Aug 27 17:58:09 2008 +0900
@@ -1,12 +1,12 @@
 package rep;
 
-import java.nio.channels.SocketChannel;
+import rep.channel.REPSocketChannel;
 
-public class EditorPlus {
+public class EditorPlus<P> {
 
 	private int eid;
-	private SocketChannel channel;
-	public EditorPlus(int eid, SocketChannel channel) {
+	private REPSocketChannel<P> channel;
+	public EditorPlus(int eid, REPSocketChannel<P> channel) {
 		this.eid = eid;
 		this.channel = channel;
 	}
@@ -16,7 +16,7 @@
 	public int getEID(){
 		return eid;
 	}
-	public SocketChannel getChannel(){
+	public REPSocketChannel<P> getChannel(){
 		return channel;
 		
 	}