net.rim.device.api.io.messaging
Interface ChainableMessageProcessor
- All Superinterfaces:
- MessageProcessor
- All Known Implementing Classes:
- GUNZIPMessageProcessor
public interface ChainableMessageProcessor
- extends MessageProcessor
Defines the basic behavior that a MessageProcessor
should implement to process an InputStream
. This
approach is preferable when processing large messages because the entire message body does not have to be held in memory
at once.
- Since:
- BlackBerry API 6.0.0
chain
InputStream chain(InputStream stream)
- Returns a new
InputStream
to process data found in the stream
parameter.
- Parameters:
stream
- Data stream to read.
- Returns:
InputStream
containing data after it has been processed.- Since:
- BlackBerry API 6.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal