diff rep/Editor.java @ 21:2d4bab638a71

*** empty log message ***
author pin
date Thu, 08 Nov 2007 04:37:59 +0900
parents 02fa9a68d9a2
children 01657c033761
line wrap: on
line diff
--- a/rep/Editor.java	Tue Nov 06 15:26:37 2007 +0900
+++ b/rep/Editor.java	Thu Nov 08 04:37:59 2007 +0900
@@ -6,6 +6,8 @@
 	private int editorNo;
 	private SocketChannel channel;
 	private SocketChannel nextChannel;
+	private String host;
+	private String port;
 
 	public Editor(int editorNo, SocketChannel channel){
 		this.editorNo = editorNo;
@@ -15,4 +17,19 @@
 	public SocketChannel getChannel() {
 		return channel;
 	}
+	
+	public void setHost(String host){
+		this.host = host;
+	}
+	public void setPort(String port){
+		this.port = port;
+	}
+	
+	public String getHost(){
+		return host;
+	}
+	public String getPort(){
+		return port;
+	}
+
 }