Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/remote/nio/Dispatcher.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz.remote.nio; | |
2 | |
3 import java.io.IOException; | |
4 | |
5 /** | |
6 * This is a protocol specific class whilst the rest is framework. ControlBlock | |
7 * dispatches to an instance of one of these as obtained from a DispatcherFactory. | |
8 * Thus message decoding, dispatching etc are all managed outside of ControlBlock | |
9 * which simply ships data to/from a client. | |
10 */ | |
11 public interface Dispatcher { | |
12 public void process(ControlBlock aBlock) throws IOException; | |
13 } |