Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

ChunkFactory Interface Reference

Inheritance diagram for ChunkFactory:

Inheritance graph
[legend]
List of all members.

Public Methods

Chunk newChunk ()
Chunk newChunk (int size)

Detailed Description

A chunk factory builds chunks, possibly implementing a specific chunk management policy.

Definition at line 35 of file ChunkFactory.java.


Member Function Documentation

Chunk ChunkFactory::newChunk ( int size )
 

Returns a chunk whose associated array of bytes is (at least) of size size. Its offset and top are always 0.

Parameters:
size   the size of the expected chunk.
Returns:
a chunk.

Reimplemented in JChunkFactory, and SimpleChunkFactory.

Chunk ChunkFactory::newChunk ( )
 

Returns a chunk. The offset and top of this chunk are 0.

Returns:
a chunk.

Reimplemented in JChunkFactory, and SimpleChunkFactory.

Referenced by PortableMarshallerFactory::PortableMarshaller::PortableMarshaller(), StdMarshallerFactory::StdMarshaller::StdMarshaller(), IIOPBinder::CltIdentifier::init(), StdMarshallerFactory::StdMarshaller::prepare(), PortableMarshallerFactory::PortableMarshaller::prepare(), and TcpIpProtocol::send().


The documentation for this interface was generated from the following file:
Generated at Fri May 31 19:23:46 2002 for Jonathan by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001