Interface IWrapperStreamFactory
Provides the means to wrap a Stream, such that functionality such as compression and encryption can be implemented in a layered, pluggable fashion.
Namespace: Tangosol.IO
Assembly: Coherence.dll
Syntax
[Obsolete("Obsolete as of Coherence 3.7.")]
public interface IWrapperStreamFactory
Methods
GetInputStream(Stream)
Requests an input Stream that wraps the passed Stream.
Declaration
Stream GetInputStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The Stream to be wrapped. |
Returns
Type | Description |
---|---|
Stream | A Stream that delegates to ("wraps") the passed Stream. |
GetOutputStream(Stream)
Requests an output Stream that wraps the passed Stream.
Declaration
Stream GetOutputStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The Stream to be wrapped. |
Returns
Type | Description |
---|---|
Stream | A Stream that delegates to ("wraps") the passed Stream. |