diff rep/Forwarder.java @ 353:0d47ff22ee0e

*** empty log message ***
author kono
date Thu, 16 Oct 2008 14:25:45 +0900
parents ef4afcae0c92
children 98607350f7d1
line wrap: on
line diff
--- a/rep/Forwarder.java	Thu Oct 16 13:52:11 2008 +0900
+++ b/rep/Forwarder.java	Thu Oct 16 14:25:45 2008 +0900
@@ -2,6 +2,7 @@
 
 import java.io.IOException;
 
+
 import rep.channel.REPLogger;
 import rep.channel.REPSelectionKey;
 import rep.channel.REPSocketChannel;
@@ -51,7 +52,7 @@
 	}
 
 	public boolean manage(REPCommand command) {
-		send(command);
+		next.send(command);
 		return true;
 	}
 
@@ -76,7 +77,7 @@
 		REPSocketChannel<REPCommand> channel = key.channel1();
 		REPCommand command = channel.read();
 		SessionManager.logger.writeLog("REPHandlerImpl.handle() : command = " + command);
-		if (manager.manage(this, command)) return;
+		if (manager.sessionManage(this, command)) return;
 		Session s = manager.getSession(command.sid);
 		Forwarder editor = s.getFirstForwarder();
 		if (editor!=null) {