view src/org/dancres/blitz/remote/nio/Dispatcher.java @ 32:243c74d599bf

Update ignores
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 12 Jun 2010 10:41:47 +0100
parents 3dc0c5604566
children
line wrap: on
line source

package org.dancres.blitz.remote.nio;

import java.io.IOException;

/**
 * This is a protocol specific class whilst the rest is framework.  ControlBlock
 * dispatches to an instance of one of these as obtained from a DispatcherFactory.
 * Thus message decoding, dispatching etc are all managed outside of ControlBlock
 * which simply ships data to/from a client.
 */
public interface Dispatcher {
    public void process(ControlBlock aBlock) throws IOException;
}