Oracle Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.2)

E26041-01

WrapperStreamFactory Class Reference

#include <coherence/io/WrapperStreamFactory.hpp>

Inherits Object.

List of all members.


Detailed Description

Provides the means to wrap an BufferInput and BufferOutput, such that functionality such as compression and encryption can be implemented in a layered, pluggable fashion.

Author:
nsa 2008.04.07

Public Types

typedef spec::Handle Handle
 WrapperStreamFactory Handle definition.
typedef spec::View View
 WrapperStreamFactory View definition.
typedef spec::Holder Holder
 WrapperStreamFactory Holder definition.

Public Member Functions

virtual
ReadBuffer::BufferInput::Handle 
getInputStream (ReadBuffer::BufferInput::Handle hIn) const =0
 Requests an InputStream that wraps the passed InputStream.
virtual
WriteBuffer::BufferOutput::Handle 
getOutputStream (WriteBuffer::BufferOutput::Handle hOut) const =0
 Requests an OutputStream that wraps the passed OutputStream.

Member Function Documentation

virtual ReadBuffer::BufferInput::Handle getInputStream ( ReadBuffer::BufferInput::Handle  hIn  )  const [pure virtual]

Requests an InputStream that wraps the passed InputStream.

Parameters:
hIn the coherence::io::ReadBuffer::BufferInput to be wrapped
Returns:
a BufferInput that delegates to ("wraps") the passed BufferInput

virtual WriteBuffer::BufferOutput::Handle getOutputStream ( WriteBuffer::BufferOutput::Handle  hOut  )  const [pure virtual]

Requests an OutputStream that wraps the passed OutputStream.

Parameters:
hOut the coherence::io::WriteBuffer::BufferOutput to be wrapped
Returns:
a BufferOutput that delegates to ("wraps") the passed BufferOutput


The documentation for this class was generated from the following file:
Copyright © 2000, 2013, Oracle and/or its affiliates. All rights reserved.