8
|
1 package rep;
|
|
2
|
|
3 import java.nio.channels.SocketChannel;
|
|
4
|
|
5 public class REPActionEvent {
|
|
6
|
|
7 private SocketChannel editorChannel;
|
|
8 private int sid;
|
|
9 private int eid;
|
|
10
|
|
11 public REPActionEvent(EditorPlus plus, SessionPlus plus2) {
|
|
12 // TODO Auto-generated constructor stub
|
|
13 this.editorChannel = plus.getChannel();
|
|
14 this.eid = plus.getEID();
|
|
15 this.sid = plus2.getSID();
|
|
16 }
|
|
17
|
|
18 public SocketChannel getEditorChannel() {
|
|
19 // TODO Auto-generated method stub
|
|
20 return editorChannel;
|
|
21 }
|
|
22
|
|
23 public int getSID() {
|
|
24 // TODO Auto-generated method stub
|
|
25 return sid;
|
|
26 }
|
|
27
|
|
28 public int getEID() {
|
|
29 // TODO Auto-generated method stub
|
|
30 return eid;
|
|
31 }
|
|
32
|
|
33 }
|