Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::InternetToolkit Class Reference

The InternetToolkit is used to get data from the URL. More...

#include <vcf/InternetKit/InternetToolkit.h>

Inheritance diagram for VCF::InternetToolkit:

VCF::Win32InternetToolkit List of all members.

Static Public Member Functions

static void getDataFromURL (URL *url, OutputStream *stream)
 Using the URL, the InternetToolkit gets the data and writes to the output stream.
static void getDataFromURL (AsyncURL *url)
static void create ()
static void terminate ()
static void addProtocolHandler (ProtocolHandler *handler)
static void removeProtocolHandler (ProtocolHandler *handler)
static ProtocolHandlergetProtocolHandler (const String &name)

Protected Member Functions

virtual ~InternetToolkit ()
 InternetToolkit ()
virtual void internal_getDataFromURL (URL *url, OutputStream *stream)=0
 This is an abstract method that get re-implemented in a concrete class derived from InternetToolkit that is specific to the platform the VCF is running on.

Protected Attributes

std::map< String, ProtocolHandler * > protocolHandlers_

Static Protected Attributes

static InternetToolkitinetKitInstance

Detailed Description

The InternetToolkit is used to get data from the URL.

These methods then resolve to platform specific calls.


Constructor & Destructor Documentation

virtual VCF::InternetToolkit::~InternetToolkit  )  [protected, virtual]
 

VCF::InternetToolkit::InternetToolkit  )  [inline, protected]
 


Member Function Documentation

static void VCF::InternetToolkit::addProtocolHandler ProtocolHandler handler  )  [static]
 

static void VCF::InternetToolkit::create  )  [static]
 

static void VCF::InternetToolkit::getDataFromURL AsyncURL url  )  [static]
 

static void VCF::InternetToolkit::getDataFromURL URL url,
OutputStream stream
[static]
 

Using the URL, the InternetToolkit gets the data and writes to the output stream.

This is a blocking call.

static ProtocolHandler* VCF::InternetToolkit::getProtocolHandler const String name  )  [static]
 

virtual void VCF::InternetToolkit::internal_getDataFromURL URL url,
OutputStream stream
[protected, pure virtual]
 

This is an abstract method that get re-implemented in a concrete class derived from InternetToolkit that is specific to the platform the VCF is running on.

Implemented in VCF::Win32InternetToolkit.

static void VCF::InternetToolkit::removeProtocolHandler ProtocolHandler handler  )  [static]
 

static void VCF::InternetToolkit::terminate  )  [static]
 


Member Data Documentation

InternetToolkit* VCF::InternetToolkit::inetKitInstance [static, protected]
 

std::map<String,ProtocolHandler*> VCF::InternetToolkit::protocolHandlers_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information