annotate src/fdl/NullIOHandlerHook.java @ 71:0352536c33fa

(example: writer) get linda server addr from commandline arg.
author kazz@e065701.local
date Fri, 23 Oct 2009 14:11:07 +0900
parents 56e015e8f5dc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
1 package fdl;
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
2
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
3 import java.nio.ByteBuffer;
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
4 import java.nio.channels.SelectionKey;
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
5
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
6 public class NullIOHandlerHook implements IOHandlerHook {
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
7
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
8 public void checkHook(SelectionKey key, int id, int seq, char mode) {
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
9 }
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
10
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
11 public void closeHook(SelectionKey key) {
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
12 }
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
13
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
14 public void inHook(SelectionKey key, int id, int seq, char mode) {
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
15 }
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
16
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
17 public void outHook(SelectionKey key, int id, int seq, char mode,
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
18 ByteBuffer data) {
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
19 }
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
20
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
21 public void waitReadHook(SelectionKey key, int id, int seq, char mode) {
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
22 }
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
23
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
24
0243987383b7 Meta Protocol Engine and sample implementation of event logger.
kono
parents:
diff changeset
25 }