diff rep/FirstConnector.java @ 358:034acadc0cdc

*** empty log message ***
author kono
date Sun, 19 Oct 2008 16:54:37 +0900
parents 98607350f7d1
children fa041bae35f1
line wrap: on
line diff
--- a/rep/FirstConnector.java	Sat Oct 18 21:28:17 2008 +0900
+++ b/rep/FirstConnector.java	Sun Oct 19 16:54:37 2008 +0900
@@ -15,7 +15,7 @@
 		manager.remove(socketChannel);
 	}
 
-	public void handle(REPSelectionKey<REPCommand> key) throws Exception {
+	public void handle(REPSelectionKey<REPCommand> key) throws IOException {
 		/*
 		 * 接続要求は、EditorかSlave Editorで、
 		 *    join, put, sm_join
@@ -37,6 +37,7 @@
 			Editor editor = new Editor(manager,-1,channel);
 			editor.setHost(manager.myHost);
 			manager.editorList.add(editor);
+			manager.updateGUI();
 			fw = editor;
 			break;
 		}