LimeWire Consolidated API

Package org.limewire.nio.channel

Interface Summary
ChannelReader Defines the interface to set and get InterestReadableByteChannels as the source for reading.
ChannelReadObserver Defines an interface that combines the ReadObserver and ChannelReader interface.
ChannelWriter Defines an interface that allows InterestWritableByteChannels to be set as the target writing channel for this object.
InterestReadableByteChannel Defines an interface to turn on or off interest in reading from the channel.
InterestScatteringByteChannel Defines an interface that is an interest read channel and supports scattering reads.
InterestWritableByteChannel Defines an interface for a channel that can be written to, can receive write events (when with interest), and can forward write events to a WriteObserver (who could in turn notify another WriteObserver).
NIOMultiplexor Defines the interface of a class that can handle delegating ChannelReadObserver or ChannelWriter events to other ChannelReadObservers or ChannelWriters.
 

Class Summary
AbstractBufferChannelWriter A simple channel that buffers data in a ByteBuffer.
AbstractChannelInterestReader Handles allocating a ByteBuffer of a given size, allows chained readers to read from this, deals with propagating interest to a source channel, propagates close and isOpen, implements a stubbed-out handleIOException, and marks when the channel has been shutdown.
AbstractChannelInterestWriter A basic channel writer that just forwards all information to the next channel in line.
BufferReader A ReadableByteChannel that reads directly from a buffer.
DeflaterWriter Deflates data written to this channel and writes the deflated data to another channel sink.
DelayedBufferWriter Stores data within a buffer and writes it out after a configurable delay, or if the buffer fills up.
InflaterReader Reads data from a source channel and offers the inflated version for reading.
NoInterestWritableByteChannel A InterestWritableByteChannel that delegates to a WritableByteChannel and ignores all other methods.
StatisticGatheringWriter A simple writer that maintains statistics about how much was written.
ThrottleReader Reads data from a channel.
ThrottleWriter Writes data to a channel.
 


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.