Mercurial > hg > RemoteEditor > REPSessionManager
annotate rep/EditorPlus.java @ 182:e5a7aad3fbc0
*** empty log message ***
author | pin |
---|---|
date | Fri, 29 Aug 2008 13:35:49 +0900 |
parents | 291c62984ba0 |
children | dfed28488274 |
rev | line source |
---|---|
8 | 1 package rep; |
2 | |
126 | 3 import rep.channel.REPSocketChannel; |
8 | 4 |
126 | 5 public class EditorPlus<P> { |
8 | 6 |
7 private int eid; | |
126 | 8 private REPSocketChannel<P> channel; |
9 public EditorPlus(int eid, REPSocketChannel<P> channel) { | |
8 | 10 this.eid = eid; |
11 this.channel = channel; | |
12 } | |
13 public String toString(){ | |
14 return ("Editor:" + eid); | |
15 } | |
16 public int getEID(){ | |
17 return eid; | |
18 } | |
126 | 19 public REPSocketChannel<P> getChannel(){ |
8 | 20 return channel; |
21 | |
22 } | |
23 } |