Mercurial > hg > RemoteEditor > REPSessionManager
changeset 138:4ff7a00b13cc
*** empty log message ***
author | kent |
---|---|
date | Wed, 27 Aug 2008 18:47:47 +0900 |
parents | 1ea856259add |
children | d6b94713cf45 |
files | rep/SessionManagerList.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/SessionManagerList.java Wed Aug 27 18:43:09 2008 +0900 +++ b/rep/SessionManagerList.java Wed Aug 27 18:47:47 2008 +0900 @@ -1,5 +1,6 @@ package rep; +import java.nio.channels.SocketChannel; import java.util.LinkedList; import java.util.List; @@ -76,9 +77,9 @@ } } - public void sendExcept(REPSocketChannel<REPCommand> exceptChannel, REPCommand command) { + public void sendExcept(REPSocketChannel<REPCommand> channel2, REPCommand command) { for(REPSocketChannel<REPCommand> channel : list){ - if(channel.equals(exceptChannel)) continue; + if(channel.equals(channel2)) continue; REPPacketSend send = new REPPacketSend(channel); send.send(command); }