Mercurial > hg > RemoteEditor > REPSessionManager
annotate rep/EditorPlus.java @ 12:aee937370052
*** empty log message ***
author | pin |
---|---|
date | Fri, 02 Nov 2007 13:37:45 +0900 |
parents | b774b87cc2c1 |
children | 291c62984ba0 |
rev | line source |
---|---|
8 | 1 package rep; |
2 | |
3 import java.nio.channels.SocketChannel; | |
4 | |
5 public class EditorPlus { | |
6 | |
7 private int eid; | |
8 private SocketChannel channel; | |
9 public EditorPlus(int eid, SocketChannel channel) { | |
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 } | |
19 public SocketChannel getChannel(){ | |
20 return channel; | |
21 | |
22 } | |
23 } |