fsInternetSession Class Reference

#include <fsInternetSession.h>

Inheritance diagram for fsInternetSession:

vmsInternetSession

List of all members.

Public Member Functions

void get_Proxy (LPCSTR &pszProxyName, LPCSTR &pszProxyUser, LPCSTR &pszProxyPwd)
LPCSTR get_UserAgent ()
void CloseHandle ()
fsInternetResult ApplyProxyAuth (HINTERNET hInetHandle)
void SetProxyAuth (LPCSTR pszUser, LPCSTR pszPassword)
void SetTimeout (UINT uTimeout)
HINTERNET GetHandle ()
fsInternetResult Create (LPCSTR pszAgent, fsInternetAccessType accType, LPCSTR pszProxy)
 fsInternetSession ()
virtual ~fsInternetSession ()
void get_Proxy (LPCSTR &pszProxyName, LPCSTR &pszProxyUser, LPCSTR &pszProxyPwd)
LPCSTR get_UserAgent ()
void CloseHandle ()
fsInternetResult ApplyProxyAuth (HINTERNET hInetHandle)
void SetProxyAuth (LPCSTR pszUser, LPCSTR pszPassword)
void SetTimeout (UINT uTimeout)
HINTERNET GetHandle ()
fsInternetResult Create (LPCSTR pszAgent, fsInternetAccessType accType, LPCSTR pszProxy)
 fsInternetSession ()
virtual ~fsInternetSession ()

Static Public Member Functions

static void InitializeWinInet ()
static void InitializeWinInet ()

Protected Attributes

fsString m_strUserAgent
fsString m_strProxy
fsString m_strProxyUser
fsString m_strProxyPassword
HINTERNET m_hSession


Detailed Description

Definition at line 24 of file fsInternetSession.h.


Constructor & Destructor Documentation

fsInternetSession::fsInternetSession (  ) 

Definition at line 8 of file fsInternetSession.cpp.

References m_hSession, m_strProxyPassword, m_strProxyUser, and NULL.

fsInternetSession::~fsInternetSession (  )  [virtual]

Definition at line 15 of file fsInternetSession.cpp.

References CloseHandle().

fsInternetSession::fsInternetSession (  ) 

virtual fsInternetSession::~fsInternetSession (  )  [virtual]


Member Function Documentation

void fsInternetSession::get_Proxy ( LPCSTR pszProxyName,
LPCSTR pszProxyUser,
LPCSTR pszProxyPwd 
)

LPCSTR fsInternetSession::get_UserAgent (  ) 

Definition at line 119 of file fsInternetSession.cpp.

References m_strUserAgent.

Referenced by fsInternetURLFile::OpenEx().

void fsInternetSession::InitializeWinInet (  )  [static]

void fsInternetSession::CloseHandle (  ) 

fsInternetResult fsInternetSession::ApplyProxyAuth ( HINTERNET  hInetHandle  ) 

void fsInternetSession::SetProxyAuth ( LPCSTR  pszUser,
LPCSTR  pszPassword 
)

void fsInternetSession::SetTimeout ( UINT  uTimeout  ) 

HINTERNET fsInternetSession::GetHandle (  ) 

Definition at line 64 of file fsInternetSession.cpp.

References m_hSession.

Referenced by fsHttpConnection::Connect(), and fsFtpConnection::Connect().

fsInternetResult fsInternetSession::Create ( LPCSTR  pszAgent,
fsInternetAccessType  accType,
LPCSTR  pszProxy 
)

void fsInternetSession::get_Proxy ( LPCSTR pszProxyName,
LPCSTR pszProxyUser,
LPCSTR pszProxyPwd 
)

LPCSTR fsInternetSession::get_UserAgent (  ) 

static void fsInternetSession::InitializeWinInet (  )  [static]

void fsInternetSession::CloseHandle (  ) 

fsInternetResult fsInternetSession::ApplyProxyAuth ( HINTERNET  hInetHandle  ) 

void fsInternetSession::SetProxyAuth ( LPCSTR  pszUser,
LPCSTR  pszPassword 
)

void fsInternetSession::SetTimeout ( UINT  uTimeout  ) 

HINTERNET fsInternetSession::GetHandle (  ) 

fsInternetResult fsInternetSession::Create ( LPCSTR  pszAgent,
fsInternetAccessType  accType,
LPCSTR  pszProxy 
)


Member Data Documentation

Definition at line 53 of file fsInternetSession.h.

Referenced by Create(), and get_UserAgent().

Definition at line 54 of file fsInternetSession.h.

Referenced by Create(), and get_Proxy().

Definition at line 55 of file fsInternetSession.h.

Referenced by ApplyProxyAuth(), fsInternetSession(), get_Proxy(), and SetProxyAuth().

Definition at line 56 of file fsInternetSession.h.

Referenced by ApplyProxyAuth(), fsInternetSession(), get_Proxy(), and SetProxyAuth().

Definition at line 57 of file fsInternetSession.h.

Referenced by CloseHandle(), Create(), fsInternetSession(), GetHandle(), and SetTimeout().


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

Generated on Sun May 25 00:21:06 2008 by  doxygen 1.5.6