144
|
1 package rep.handler;
|
|
2
|
178
|
3 import rep.Editor;
|
144
|
4 import rep.REPCommand;
|
|
5 import rep.channel.ChannelSimulator;
|
155
|
6 import rep.channel.REPSocketChannel;
|
144
|
7
|
|
8 public class PacketSet {
|
|
9
|
178
|
10 public REPSocketChannel<REPCommand> channel;
|
|
11 public Editor editor;
|
|
12 public REPCommand command;
|
144
|
13
|
178
|
14 public PacketSet(REPSocketChannel<REPCommand> channel, Editor editor, REPCommand command) {
|
144
|
15 this.channel = channel;
|
178
|
16 this.editor = editor;
|
|
17 this.command = command;
|
144
|
18 }
|
|
19
|
178
|
20 public Editor getEditor() {
|
|
21 return editor;
|
|
22 }
|
|
23
|
|
24
|
144
|
25 }
|