ACE_INet 8.0.5
Loading...
Searching...
No Matches
ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER > Class Template Reference

#include <HTTP_StreamPolicy.h>

Inheritance diagram for ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >:
Collaboration diagram for ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >:

Public Types

typedef STREAM_BUFFER::char_type char_type
Public Types inherited from ACE::HTTP::StreamPolicyBase< STREAM_BUFFER >
typedef STREAM_BUFFER::char_type char_type

Public Member Functions

 FixedLengthStreamPolicyBase (std::streamsize length)
virtual ~FixedLengthStreamPolicyBase ()
Public Member Functions inherited from ACE::HTTP::StreamPolicyBase< STREAM_BUFFER >
 StreamPolicyBase ()
virtual ~StreamPolicyBase ()
void set_stream_buffer (STREAM_BUFFER *streambuf)

Protected Member Functions

virtual int read_from_stream (char_type *buffer, std::streamsize length)
virtual int write_to_stream (const char_type *buffer, std::streamsize length)
Protected Member Functions inherited from ACE::HTTP::StreamPolicyBase< STREAM_BUFFER >
int read_from_stream_i (char_type *buffer, std::streamsize length)
int write_to_stream_i (const char_type *buffer, std::streamsize length)

Private Attributes

std::streamsize length_
std::streamsize count_

Member Typedef Documentation

◆ char_type

template<class STREAM_BUFFER>
typedef STREAM_BUFFER::char_type ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::char_type

Constructor & Destructor Documentation

◆ FixedLengthStreamPolicyBase()

template<class STREAM_BUFFER>
ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::FixedLengthStreamPolicyBase ( std::streamsize length)

◆ ~FixedLengthStreamPolicyBase()

template<class STREAM_BUFFER>
ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::~FixedLengthStreamPolicyBase ( )
virtual

Member Function Documentation

◆ read_from_stream()

template<class STREAM_BUFFER>
int ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::read_from_stream ( char_type * buffer,
std::streamsize length )
protectedvirtual

◆ write_to_stream()

template<class STREAM_BUFFER>
int ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::write_to_stream ( const char_type * buffer,
std::streamsize length )
protectedvirtual

Member Data Documentation

◆ count_

template<class STREAM_BUFFER>
std::streamsize ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::count_
private

◆ length_

template<class STREAM_BUFFER>
std::streamsize ACE::HTTP::FixedLengthStreamPolicyBase< STREAM_BUFFER >::length_
private

The documentation for this class was generated from the following files: