Mercurial > hg > RemoteEditor > REPSessionManager
changeset 128:5feb0abed370
*** empty log message ***
author | kono |
---|---|
date | Wed, 27 Aug 2008 18:03:28 +0900 |
parents | b0179c726bd8 |
children | 63a473db5cbf |
files | rep/REPActionEvent.java |
diffstat | 1 files changed, 6 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/REPActionEvent.java Wed Aug 27 17:59:25 2008 +0900 +++ b/rep/REPActionEvent.java Wed Aug 27 18:03:28 2008 +0900 @@ -2,31 +2,29 @@ import java.nio.channels.SocketChannel; -public class REPActionEvent { +import rep.channel.REPSocketChannel; - private REPSocketChannel editorChannel; +public class REPActionEvent<P> { + + private REPSocketChannel<P> editorChannel; private int sid; private int eid; - public REPActionEvent(EditorPlus plus, SessionPlus plus2) { - // TODO Auto-generated constructor stub + public REPActionEvent(EditorPlus<P> plus, SessionPlus<P> plus2) { this.editorChannel = plus.getChannel(); this.eid = plus.getEID(); this.sid = plus2.getSID(); } - public REPSocketChannel getEditorChannel() { - // TODO Auto-generated method stub + public REPSocketChannel<P> getEditorChannel() { return editorChannel; } public int getSID() { - // TODO Auto-generated method stub return sid; } public int getEID() { - // TODO Auto-generated method stub return eid; }