KickJava   Java API By Example, From Geeks To Geeks.

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


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.GatheringByteChannel JavaDoc;
7
8 /**
9  * Interface used by comms thread to request writing a channel. This interface makes it possible to slide a stack
10  * of between the write 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 TCJDK14ChannelWriter {
16   void doWrite(GatheringByteChannel JavaDoc channel);
17 }
Popular Tags