Mercurial > hg > RemoteEditor > REPSessionManager
view rep/REPActionEvent.java @ 217:4deaaaa6354e
*** empty log message ***
author | kono |
---|---|
date | Sun, 31 Aug 2008 00:26:35 +0900 |
parents | e8f716498caf |
children | 827c439d0da4 |
line wrap: on
line source
package rep; import rep.channel.REPSocketChannel; public class REPActionEvent<P> implements SessionManagerEvent{ private REPSocketChannel<P> editorChannel; private int sid; private int eid; private SessionManager manager; public REPActionEvent(EditorPlus<P> plus, SessionPlus plus2, SessionManager manager) { this.editorChannel = plus.getChannel(); this.eid = plus.getEID(); this.sid = plus2.getSID(); this.manager = manager; } public REPSocketChannel<P> getEditorChannel() { return editorChannel; } public int getSID() { return sid; } public int getEID() { return eid; } public void exec() { // TODO Auto-generated method stub manager.selectSession(this); } }