Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/SessionManager.java @ 391:3b0a5a55e3ee
24
author | one@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 10 Nov 2008 22:25:14 +0900 |
parents | 4b535bef903a |
children | 85d01cb6d133 |
line wrap: on
line diff
--- a/rep/SessionManager.java Mon Nov 10 22:24:34 2008 +0900 +++ b/rep/SessionManager.java Mon Nov 10 22:25:14 2008 +0900 @@ -23,6 +23,7 @@ import rep.handler.Forwarder; import rep.xml.SessionXMLDecoder; import rep.xml.SessionXMLEncoder; +import test.sematest.TestGUI; /* +-------+--------+--------+-------+--------+---------+------+ @@ -49,7 +50,7 @@ SessionManagerList smList = new SessionManagerList(); // Known Editor list. Connected Editor has a channel. // Session Manager Channel may have dummy editors. - EditorList editorList = new EditorList(); + public EditorList editorList = new EditorList(); // Queue limit for debugging purpose. static final int packetLimit = 400; @@ -603,4 +604,8 @@ smList.addWaitingSessionManager(fw, command); } + public int getId() { + return smList.sessionManagerID(); + } + }