Mercurial > hg > RemoteEditor > REPSessionManager
view rep/SelectButtonEvent.java @ 222:18d6a7140fa3
*** empty log message ***
author | pin |
---|---|
date | Sun, 31 Aug 2008 12:31:00 +0900 |
parents | |
children | cbd67817e9cd |
line wrap: on
line source
package rep; import rep.channel.REPSocketChannel; public class SelectButtonEvent<P> implements SessionManagerEvent{ private REPSocketChannel<P> editorChannel; private int sid; private int eid; private SessionManager manager; public SelectButtonEvent(EditorPlus<P> plus, SessionPlus plus2, SessionManagerEventListener listener) { this.editorChannel = plus.getChannel(); this.eid = plus.getEID(); this.sid = plus2.getSID(); this.manager = (SessionManager)listener; } public REPSocketChannel<P> getEditorChannel() { return editorChannel; } public int getSID() { return sid; } public int getEID() { return eid; } public void exec() { manager.selectSession(this); } }