Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/SelectButtonEvent.java @ 320:83790b8b8174
*** empty log message ***
author | kono |
---|---|
date | Fri, 10 Oct 2008 14:10:15 +0900 |
parents | 77f443f6dc9f |
children | 4fae49280699 |
line wrap: on
line diff
--- a/rep/SelectButtonEvent.java Thu Oct 09 17:26:55 2008 +0900 +++ b/rep/SelectButtonEvent.java Fri Oct 10 14:10:15 2008 +0900 @@ -2,32 +2,24 @@ import java.io.IOException; -import rep.channel.REPSocketChannel; - public class SelectButtonEvent implements SessionManagerEvent{ - private REPSocketChannel<REPCommand> editorChannel; private int sid; - private int eid; + private Forwarder editor; private SessionManager manager; public SelectButtonEvent(Forwarder editor, Session session, SessionManagerEventListener listener) { - this.editorChannel = editor.getChannel(); - this.eid = editor.getEID(); + this.editor = editor; this.sid = session.getSID(); this.manager = (SessionManager)listener; } - public REPSocketChannel<REPCommand> getEditorChannel() { - return editorChannel; - } - public int getSID() { return sid; } - public int getEID() { - return eid; + public Forwarder getEditor() { + return editor; } public void exec() {