Mercurial > hg > RemoteEditor > REPSessionManager
view rep/SelectButtonEvent.java @ 343:21ad256c25c2
*** empty log message ***
author | kono |
---|---|
date | Mon, 13 Oct 2008 13:16:31 +0900 |
parents | 4fae49280699 |
children |
line wrap: on
line source
package rep; import java.io.IOException; public class SelectButtonEvent implements SessionManagerEvent{ private int sid; private Forwarder editor; public SelectButtonEvent(Forwarder editor, Session session) { this.editor = editor; this.sid = session.getSID(); } public int getSID() { return sid; } public Forwarder getEditor() { return editor; } public void exec(SessionManager manager) { try { manager.selectSession(this); } catch (IOException e) { } } }