ACE_INet  6.1.0
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | Friends
ACE::HTTP::StreamBuffer Class Reference

#include <HTTP_IOStream.h>

Inheritance diagram for ACE::HTTP::StreamBuffer:
Inheritance graph
[legend]
Collaboration diagram for ACE::HTTP::StreamBuffer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef StreamPolicyBase
< StreamBuffer
policy_type

Public Member Functions

 StreamBuffer (std::iostream &stream, policy_type *policy=0)
virtual ~StreamBuffer ()
virtual int sync ()

Protected Types

enum  { BUFFER_SIZE = 4096 }

Protected Member Functions

virtual int read_from_stream (char *buffer, std::streamsize length)
virtual int write_to_stream (const char *buffer, std::streamsize length)
virtual int read_from_stream_i (char *buffer, std::streamsize length)
virtual int write_to_stream_i (const char *buffer, std::streamsize length)

Private Attributes

std::iostream & stream_
policy_typepolicy_

Friends

class StreamPolicyBase< StreamBuffer >

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
BUFFER_SIZE 

Constructor & Destructor Documentation

ACE::HTTP::StreamBuffer::StreamBuffer ( std::iostream &  stream,
StreamBuffer::policy_type policy = 0 
)
ACE::HTTP::StreamBuffer::~StreamBuffer ( ) [virtual]

Member Function Documentation

int ACE::HTTP::StreamBuffer::read_from_stream ( char *  buffer,
std::streamsize  length 
) [protected, virtual]
int ACE::HTTP::StreamBuffer::read_from_stream_i ( char *  buffer,
std::streamsize  length 
) [protected, virtual]
int ACE::HTTP::StreamBuffer::sync ( ) [virtual]
int ACE::HTTP::StreamBuffer::write_to_stream ( const char *  buffer,
std::streamsize  length 
) [protected, virtual]
int ACE::HTTP::StreamBuffer::write_to_stream_i ( const char *  buffer,
std::streamsize  length 
) [protected, virtual]

Friends And Related Function Documentation

friend class StreamPolicyBase< StreamBuffer > [friend]

Member Data Documentation

std::iostream& ACE::HTTP::StreamBuffer::stream_ [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines