MICO Platform  1.0.0
 All Classes Namespaces Functions Variables Friends
Public Member Functions | List of all members
mico::io::URLIStreambuf Class Reference

A Boost Device implementation allowing read access to local and remote URLs. More...

#include <URLStream.hpp>

Inheritance diagram for mico::io::URLIStreambuf:
mico::io::URLStreambufBase

Public Member Functions

 URLIStreambuf (const char *url)
 
- Public Member Functions inherited from mico::io::URLStreambufBase
 URLStreambufBase (const char *url, URLMode mode, int bufsize)
 Open URL device using the given URL and flags. More...
 
virtual ~URLStreambufBase ()
 Clean up resources occupied by device, e.g. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mico::io::URLStreambufBase
void loop ()
 loop to fetch/send more data
 
- Protected Attributes inherited from mico::io::URLStreambufBase
URLType type
 
URLMode mode
 
handle_t handle
 
CURLM * multi_handle
 
int running_handles
 
char * buffer
 internal buffer for storing data from last read
 
int buffer_size
 allocated buffer size
 
char * buffer_position
 cURL position in buffer (when sending/receiving data)
 
bool finishing
 indicate if device is already finishing transfer (i.e. no more reads/writes)
 
bool waiting
 indicate if the device is still waiting for more data
 

Detailed Description

A Boost Device implementation allowing read access to local and remote URLs.


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