1 #ifndef ACE_HTTP_STREAM_POLICY_BASE_CPP
2 #define ACE_HTTP_STREAM_POLICY_BASE_CPP
4 #include "ace/INet/HTTP_StreamPolicyBase.h"
6 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
12 template <class STREAM_BUFFER
>
13 StreamPolicyBase
<STREAM_BUFFER
>::StreamPolicyBase ()
17 template <class STREAM_BUFFER
>
18 StreamPolicyBase
<STREAM_BUFFER
>::~StreamPolicyBase ()
21 template <class STREAM_BUFFER
>
22 int StreamPolicyBase
<STREAM_BUFFER
>::read_from_stream_i (
24 std::streamsize length
)
26 return this->streambuf_
->read_from_stream_i (buf
, length
);
29 template <class STREAM_BUFFER
>
30 int StreamPolicyBase
<STREAM_BUFFER
>::write_to_stream_i (
31 const char_type
* buf
,
32 std::streamsize length
)
34 return this->streambuf_
->write_to_stream_i (buf
, length
);
37 template <class STREAM_BUFFER
>
38 void StreamPolicyBase
<STREAM_BUFFER
>::set_stream_buffer (STREAM_BUFFER
* streambuf
)
40 this->streambuf_
= streambuf
;
46 ACE_END_VERSIONED_NAMESPACE_DECL
48 #endif /* ACE_HTTP_STREAM_POLICY_BASE_CPP */