Mercurial > hg > RemoteEditor > REPSessionManager
diff test/channeltest/testSeMa.java @ 203:4c0a94836357 simullator-nio-both-worked
*** empty log message ***
author | kono |
---|---|
date | Sat, 30 Aug 2008 11:21:43 +0900 |
parents | b85525d83b46 |
children | dfc2afab1325 |
line wrap: on
line diff
--- a/test/channeltest/testSeMa.java Sat Aug 30 11:15:31 2008 +0900 +++ b/test/channeltest/testSeMa.java Sat Aug 30 11:21:43 2008 +0900 @@ -65,6 +65,7 @@ if(key.isAcceptable()){ ns.writeLog("gets acceptable channel", 1); REPSocketChannel<String> channel = key.accept(pack); + if(channel==null) continue; channel.configureBlocking(false); channel.register(selector, SelectionKey.OP_READ, null); ns.writeLog("accepts a client.", 1);