annotate rep/handler/PacketSet.java @ 178:a097b1d619a1

*** empty log message ***
author pin
date Thu, 28 Aug 2008 22:04:48 +0900
parents bbd2801d8ce0
children 526ee0354067
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
1 package rep.handler;
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
2
178
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
3 import rep.Editor;
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
4 import rep.REPCommand;
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
5 import rep.channel.ChannelSimulator;
155
bbd2801d8ce0 *** empty log message ***
pin
parents: 144
diff changeset
6 import rep.channel.REPSocketChannel;
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
7
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
8 public class PacketSet {
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
9
178
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
10 public REPSocketChannel<REPCommand> channel;
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
11 public Editor editor;
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
12 public REPCommand command;
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
13
178
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
14 public PacketSet(REPSocketChannel<REPCommand> channel, Editor editor, REPCommand command) {
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
15 this.channel = channel;
178
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
16 this.editor = editor;
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
17 this.command = command;
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
18 }
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
19
178
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
20 public Editor getEditor() {
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
21 return editor;
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
22 }
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
23
a097b1d619a1 *** empty log message ***
pin
parents: 155
diff changeset
24
144
0bf7f8d0f5f7 *** empty log message ***
pin
parents:
diff changeset
25 }