00001 
00002 
00003 
00004 
00005 
00006 
00007 #ifndef COH_WRAPPER_STREAM_FACTORY_HPP
00008 #define COH_WRAPPER_STREAM_FACTORY_HPP
00009 
00010 #include "coherence/lang.ns"
00011 
00012 #include "coherence/io/ReadBuffer.hpp"
00013 #include "coherence/io/WriteBuffer.hpp"
00014 
00015 COH_OPEN_NAMESPACE2(coherence,io)
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 class COH_EXPORT WrapperStreamFactory
00026     : public interface_spec<WrapperStreamFactory>
00027     {
00028     
00029 
00030     public:
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040         virtual ReadBuffer::BufferInput::Handle getInputStream(
00041                 ReadBuffer::BufferInput::Handle hIn) const = 0;
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052         virtual WriteBuffer::BufferOutput::Handle getOutputStream(
00053                 WriteBuffer::BufferOutput::Handle hOut) const = 0;
00054     };
00055 
00056 COH_CLOSE_NAMESPACE2
00057 
00058 #endif // COH_WRAPPER_STREAM_FACTORY_HPP