|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CallbackStreamProducer
The object produces a stream, which it can give to a
CallbackStreamConsumer
to process.
Method Summary | |
---|---|
void |
setConsumer(CallbackStreamConsumer consumer)
Set the object which will consume the stream produced. |
void |
startStreamProduction()
Initiate the stream production process and invoke the stream consumer when you're ready. |
Method Detail |
---|
void setConsumer(CallbackStreamConsumer consumer)
consumer
- The consumer object.void startStreamProduction() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |