Mercurial > hg > RemoteEditor > REPSessionManager
comparison rep/NullForwarder.java @ 360:b25f832f875d
*** empty log message ***
author | kono |
---|---|
date | Sun, 19 Oct 2008 20:30:52 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
359:fa041bae35f1 | 360:b25f832f875d |
---|---|
1 package rep; | |
2 | |
3 import java.io.IOException; | |
4 | |
5 import rep.channel.REPSelectionKey; | |
6 import rep.channel.REPSocketChannel; | |
7 | |
8 public class NullForwarder extends Forwarder { | |
9 | |
10 public NullForwarder(SessionManager manager) { | |
11 super(manager); | |
12 } | |
13 | |
14 public void send(REPCommand command) { | |
15 | |
16 } | |
17 public void cancel(REPSocketChannel<REPCommand> socketChannel) { | |
18 | |
19 } | |
20 | |
21 public void handle(REPSelectionKey<REPCommand> key) throws IOException { | |
22 | |
23 } | |
24 | |
25 public boolean manage(REPCommand command) { | |
26 return true; | |
27 } | |
28 | |
29 public boolean isEditor() { | |
30 return false; | |
31 } | |
32 | |
33 public boolean isForwarder() { | |
34 return false; | |
35 } | |
36 | |
37 public boolean isDirect() { | |
38 return false; | |
39 } | |
40 | |
41 } |