KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > core > TCJDK14ChannelReader


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.core;
5
6 import java.nio.channels.ScatteringByteChannel JavaDoc;
7
8 /**
9  * Interface used by comms thread to request reading from a channel. This interface makes it possible to slide a stack
10  * of between the read calls and the socket. An example layer would be something that can deal with encrypt/decrypt of
11  * the stream
12  *
13  * @author teck
14  */

15 interface TCJDK14ChannelReader {
16   public void doRead(ScatteringByteChannel JavaDoc channel);
17 }
Popular Tags