Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/channel/REPSelector.java @ 184:3c82100cdadd
*** empty log message ***
author | kent |
---|---|
date | Fri, 29 Aug 2008 16:38:11 +0900 |
parents | 72252e970a8b |
children | 63701e2a2fe8 |
line wrap: on
line diff
--- a/rep/channel/REPSelector.java Fri Aug 29 13:40:29 2008 +0900 +++ b/rep/channel/REPSelector.java Fri Aug 29 16:38:11 2008 +0900 @@ -61,6 +61,12 @@ @Override public Set<SelectionKey> selectedKeys() { + /* + Set<SelectionKey> keys = new HashSet<SelectionKey>(); + for (SelectionKey key: selector.selectedKeys()){ + keys.add(new SelectionKeySimulator(new REPSocketChannel<?>(), key.readyOps(), selector)); + new SelectionKey(); + }*/ return selector.selectedKeys(); }