iweTransport Interface Reference

Transport for data receiving. More...

#include <weiTransport.h>

Inheritance diagram for iweTransport:

iweOptionsProvider WeHTTP

List of all members.

Public Member Functions

 iweTransport ()
virtual ~iweTransport ()
virtual iweResponseRequest (string url, iweResponse *resp=NULL)=0
virtual WeOptionOption (const string &name)
virtual bool IsSet (const string &name)
virtual void Option (const string &name, WeOptionVal val)
void SetOptionProvider (iweOptionsProvider *prov)
virtual string & GetName ()=0
virtual bool IsOwnProtocol (string &proto)=0
const WeURLBaseUrl (void) const
 Access the BaseUrl property.
void BaseUrl (const WeURL &bUrl)
 Access the BaseUrl property.
void BaseUrl (const string &bUrl)
 Access the BaseUrl property.
const unsigned int & RelocationCount (void) const
 Access the Int relocCount property.
void RelocationCount (const unsigned int &relCount)
 Access the Int relocCount property.
const unsigned int & SiteDepth (void) const
 Access the Int siteDepth property.
void SiteDepth (const unsigned int &sDepth)
 Access the Int siteDepth property.


Detailed Description

Transport for data receiving.

Author:
A. Abramov
Date:
10.06.2009

Definition at line 178 of file weiTransport.h.


Constructor & Destructor Documentation

iweTransport::iweTransport (  ) 

Definition at line 32 of file weiTransport.cpp.

virtual iweTransport::~iweTransport (  )  [inline, virtual]

Definition at line 182 of file weiTransport.h.


Member Function Documentation

void iweTransport::BaseUrl ( const string &  bUrl  ) 

Access the BaseUrl property.

This property represents the base URL for the analyzing and may be used for domain control and URL reconstructing. Will be overwrite by the request URL if not valid.

Parameters:
bUrl - URL to set as base
Exceptions:
WeError if given URL is malformed

void iweTransport::BaseUrl ( const WeURL bUrl  ) 

Access the BaseUrl property.

This property represents the base URL for the analyzing and may be used for domain control and URL reconstructing. Will be overwrite by the request URL if not valid.

Parameters:
bUrl - URL to set as base
Exceptions:
WeError if given URL is malformed

const WeURL& iweTransport::BaseUrl ( void   )  const [inline]

Access the BaseUrl property.

This property represents the base URL for the analyzing and may be used for domain control and URL reconstructing. Will be overwrite by the request URL if not valid.

Parameters:
bUrl - URL to set as base
Exceptions:
WeError if given URL is malformed

Definition at line 198 of file weiTransport.h.

virtual string& iweTransport::GetName (  )  [pure virtual]

Implemented in WeHTTP.

virtual bool iweTransport::IsOwnProtocol ( string &  proto  )  [pure virtual]

Implemented in WeHTTP.

bool iweTransport::IsSet ( const string &  name  )  [virtual]

Implements iweOptionsProvider.

Definition at line 56 of file weiTransport.cpp.

void iweTransport::Option ( const string &  name,
WeOptionVal  val 
) [virtual]

Implements iweOptionsProvider.

Definition at line 84 of file weiTransport.cpp.

WeOption & iweTransport::Option ( const string &  name  )  [virtual]

Implements iweOptionsProvider.

Examples:
httpget.cpp.

Definition at line 40 of file weiTransport.cpp.

void iweTransport::RelocationCount ( const unsigned int &  relCount  )  [inline]

Access the Int relocCount property.

This property represents the number of continuous relocations which causes relocation processing stop.

Definition at line 209 of file weiTransport.h.

const unsigned int& iweTransport::RelocationCount ( void   )  const [inline]

Access the Int relocCount property.

This property represents the number of continuous relocations which causes relocation processing stop.

Examples:
httpget.cpp.

Definition at line 208 of file weiTransport.h.

virtual iweResponse* iweTransport::Request ( string  url,
iweResponse resp = NULL 
) [pure virtual]

Implemented in WeHTTP.

void iweTransport::SetOptionProvider ( iweOptionsProvider prov  )  [inline]

Definition at line 221 of file weiTransport.h.

void iweTransport::SiteDepth ( const unsigned int &  sDepth  )  [inline]

Access the Int siteDepth property.

This property represents the number of continuous links which causes links processing stop.

Definition at line 218 of file weiTransport.h.

const unsigned int& iweTransport::SiteDepth ( void   )  const [inline]

Access the Int siteDepth property.

This property represents the number of continuous links which causes links processing stop.

Definition at line 217 of file weiTransport.h.


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


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads