comparison rep/SessionList.java @ 101:612cb62151ce

*** empty log message ***
author pin
date Sat, 22 Dec 2007 13:54:45 +0900
parents 9381b4734a0b
children 99e598a1dbf8
comparison
equal deleted inserted replaced
100:25bf89525e70 101:612cb62151ce
292 292
293 public void update(SocketChannel channel, SessionList receivedSessionList) { 293 public void update(SocketChannel channel, SessionList receivedSessionList) {
294 LinkedList<Session> list = receivedSessionList.getList(); 294 LinkedList<Session> list = receivedSessionList.getList();
295 int i = 0; 295 int i = 0;
296 for(Session session : list){ 296 for(Session session : list){
297 session.getEditorList().get(0).setChannel(channel);
297 ++i; 298 ++i;
298 int sid = addSession(session); 299 int sid = addSession(session);
299 setTranslationTable(channel, i, sid); 300 setTranslationTable(channel, i, sid);
300 } 301 }
301 } 302 }