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

#include <FTP_IOStream.h>

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

List of all members.

Public Member Functions

 StreamBuffer (std::iostream *stream)
virtual ~StreamBuffer ()
virtual int sync ()
std::iostream * set_stream (std::iostream *stream)

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)

Private Attributes

std::iostream * stream_

Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
BUFFER_SIZE 

Constructor & Destructor Documentation

ACE::FTP::StreamBuffer::StreamBuffer ( std::iostream *  stream)
ACE::FTP::StreamBuffer::~StreamBuffer ( ) [virtual]

Member Function Documentation

int ACE::FTP::StreamBuffer::read_from_stream ( char *  buffer,
std::streamsize  length 
) [protected, virtual]
std::iostream * ACE::FTP::StreamBuffer::set_stream ( std::iostream *  stream)
int ACE::FTP::StreamBuffer::sync ( ) [virtual]
int ACE::FTP::StreamBuffer::write_to_stream ( const char *  buffer,
std::streamsize  length 
) [protected, virtual]

Member Data Documentation

std::iostream* ACE::FTP::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