TrueZIP Kernel 7.0-rc2

Package de.schlichtherle.truezip.socket

Provides I/O sockets to address and resolve targets for I/O operations.

See:
          Description

Interface Summary
InputEntry<E extends InputEntry<E>> An entry which provides input sockets.
InputService<E extends Entry> A service for input sockets.
InputShop<E extends Entry> A closable input service.
IOEntry<E extends IOEntry<E>> An entry which provides I/O sockets.
IOPool<E extends IOEntry<E>> A pool of I/O entries.
IOPool.Entry<E extends IOEntry<E>> A releasable I/O entry.
IOPoolProvider A provider for an I/O pool.
OutputEntry<E extends OutputEntry<E>> An entry which provides output sockets.
OutputService<E extends Entry> A service for output sockets.
OutputShop<E extends Entry> A closable output service.
 

Class Summary
ByteArrayIOEntry An I/O entry which uses a byte array.
ByteArrayIOPool A pool of byte array I/O entries.
ConcurrentInputShop<E extends Entry> Decorates an InputShop to add accounting and multithreading synchronization for all input streams or read only files created by the decorated input shop.
ConcurrentOutputShop<E extends Entry> Decorates an OutputShop to add accounting and multithreading synchronization for all output streams created by the decorated output shop.
DecoratingInputShop<E extends Entry,I extends InputShop<E>> An abstract decorator for an input shop.
DecoratingInputSocket<E extends Entry> An abstract decorator for an input socket.
DecoratingOutputShop<E extends Entry,O extends OutputShop<E>> An abstract decorator for an output shop.
DecoratingOutputSocket<E extends Entry> An abstract decorator for an output socket.
InputSocket<E extends Entry> An abstract factory for input streams and read only files for reading bytes from its local target.
IOCache Provides temporary caching services for input and output sockets with the following features: Upon the first read operation, the entry data will be read from the backing store and temporarily stored in the cache.
IOCache.CacheEntry Proxies the decorated entry to hide socket connections.
IOCache.Lock  
IOSocket<LT,PT> An abstract address of a target for I/O operations which is provided by sub class implementations.
LazyInputSocket<E extends Entry> A lazy input socket provides proxy read only files and input streams which acquire their underlying local target upon the first read access.
LazyOutputSocket<E extends Entry> A lazy output socket provides proxy output streams which acquire their underlying local target upon the first read access.
OutputSocket<E extends Entry> An abstract factory for output streams for writing bytes to its local target.
 

Enum Summary
IOCache.Strategy Provides different cache strategies.
 

Exception Summary
InputClosedException Indicates that an input stream or read only file for an entry has been forced to close.
OutputClosedException Indicates that an output stream for an entry has been forced to close.
 

Package de.schlichtherle.truezip.socket Description

Provides I/O sockets to address and resolve targets for I/O operations. Similar to network sockets, I/O sockets are a very powerfuly concept: They support input, output, copying, caching, proxying etc. of the contents of a generic local target and an optional peer target. By using I/O sockets, you'll never have to write a fast copy routine again.


TrueZIP Kernel 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.