Mercurial > hg > RemoteEditor > REPSessionManager
view rep/handler/REPHandlerDoWaiting.java @ 281:c3969dd625b2
GUIless test routine.
author | kono |
---|---|
date | Sat, 27 Sep 2008 22:55:13 +0900 |
parents | ad487e63e3c8 |
children |
line wrap: on
line source
package rep.handler; import java.io.IOException; import rep.REPCommand; import rep.SessionManager; import rep.channel.REPSelectionKey; import rep.channel.REPSocketChannel; public class REPHandlerDoWaiting implements REPHandler { SessionManager manager; public REPHandlerDoWaiting(SessionManager manager) { this.manager = manager; } public void handle(REPSelectionKey<REPCommand> key) throws IOException { } public void cancel(REPSocketChannel<REPCommand> socketChannel) { manager.remove(socketChannel); } }