comparison src/pathfinder/mergetest/SelectionKeySimulator.java @ 151:1768e68ba98e

*** empty log message ***
author pin
date Tue, 05 Aug 2008 15:09:39 +0900
parents
children 6326e5ea4595
comparison
equal deleted inserted replaced
150:e33871f4b39a 151:1768e68ba98e
1 package pathfinder.mergetest;
2
3 public class SelectionKeySimulator<P> {
4
5 public static final int OP_READ = 0;
6 private ChannelSimulator<P> channel;
7
8 public SelectionKeySimulator(ChannelSimulator<P> cs) {
9 // TODO Auto-generated constructor stub
10 channel = cs;
11 }
12
13 public boolean isAcceptable() {
14 // TODO Auto-generated method stub
15 return false;
16 }
17
18 public boolean isReadable() {
19 // TODO Auto-generated method stub
20 return true;
21 }
22
23 public ChannelSimulator<P> channel() {
24 // TODO Auto-generated method stub
25 return channel;
26 }
27
28 }