|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ChunkProvider
Chunk providers are used to wrap input streams (like, e.g., socket input streams) in unmarshallers.
MarshallerFactory| Method Summary | |
|---|---|
void |
close()
Closes the chunk provider. |
Chunk |
prepare()
Returns a chunk to read data from. |
| Method Detail |
|---|
Chunk prepare()
throws org.objectweb.jonathan.apis.kernel.JonathanException
When done with the chunk, its user must update its
offset and top members and
release it.
ChunkProviders should not be used concurrently.
org.objectweb.jonathan.apis.kernel.JonathanException - if no chunk can be provided.void close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||