annotate rep/EditorPlus.java @ 182:e5a7aad3fbc0

*** empty log message ***
author pin
date Fri, 29 Aug 2008 13:35:49 +0900
parents 291c62984ba0
children dfed28488274
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
1 package rep;
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
2
126
291c62984ba0 *** empty log message ***
kono
parents: 8
diff changeset
3 import rep.channel.REPSocketChannel;
8
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
4
126
291c62984ba0 *** empty log message ***
kono
parents: 8
diff changeset
5 public class EditorPlus<P> {
8
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
6
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
7 private int eid;
126
291c62984ba0 *** empty log message ***
kono
parents: 8
diff changeset
8 private REPSocketChannel<P> channel;
291c62984ba0 *** empty log message ***
kono
parents: 8
diff changeset
9 public EditorPlus(int eid, REPSocketChannel<P> channel) {
8
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
10 this.eid = eid;
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
11 this.channel = channel;
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
12 }
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
13 public String toString(){
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
14 return ("Editor:" + eid);
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
15 }
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
16 public int getEID(){
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
17 return eid;
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
18 }
126
291c62984ba0 *** empty log message ***
kono
parents: 8
diff changeset
19 public REPSocketChannel<P> getChannel(){
8
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
20 return channel;
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
21
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
22 }
b774b87cc2c1 *** empty log message ***
pin
parents:
diff changeset
23 }