#include <fsServerConnection.h>

Public Member Functions | |
| INTERNET_PORT | GetServerPort () |
| LPCSTR | GetServerName () |
| class fsInternetSession * | GetSession () |
| void | CloseHandle () |
| LPCSTR | GetLastError () |
| virtual fsInternetResult | Connect (LPCSTR pszServer, LPCSTR pszUser, LPCSTR pszPassword, INTERNET_PORT nPort) |
| fsInternetResult | Initialize (class fsInternetSession *pSession) |
| HINTERNET | GetHandle () |
| fsInternetServerConnection () | |
| virtual | ~fsInternetServerConnection () |
| INTERNET_PORT | GetServerPort () |
| LPCSTR | GetServerName () |
| class fsInternetSession * | GetSession () |
| void | CloseHandle () |
| LPCSTR | GetLastError () |
| virtual fsInternetResult | Connect (LPCSTR pszServer, LPCSTR pszUser, LPCSTR pszPassword, INTERNET_PORT nPort) |
| fsInternetResult | Initialize (class fsInternetSession *pSession) |
| HINTERNET | GetHandle () |
| fsInternetServerConnection () | |
| virtual | ~fsInternetServerConnection () |
Protected Attributes | |
| INTERNET_PORT | m_uPort |
| fsString | m_strServer |
| char * | m_pszLastError |
| HINTERNET | m_hServer |
| class fsInternetSession * | m_pSession |
Definition at line 18 of file fsServerConnection.h.
| fsInternetServerConnection::fsInternetServerConnection | ( | ) |
Definition at line 10 of file fsServerConnection.cpp.
References m_hServer, m_pSession, m_pszLastError, and NULL.
| fsInternetServerConnection::~fsInternetServerConnection | ( | ) | [virtual] |
Definition at line 17 of file fsServerConnection.cpp.
References CloseHandle(), m_pszLastError, and SAFE_DELETE_ARRAY.
| fsInternetServerConnection::fsInternetServerConnection | ( | ) |
| virtual fsInternetServerConnection::~fsInternetServerConnection | ( | ) | [virtual] |
| INTERNET_PORT fsInternetServerConnection::GetServerPort | ( | ) |
Definition at line 58 of file fsServerConnection.cpp.
References m_uPort.
Referenced by fsHttpFiles::BuildFileList(), fsInternetURLServer::GetServerPort(), and fsHttpFile::Open_imp().
| LPCSTR fsInternetServerConnection::GetServerName | ( | ) |
Definition at line 53 of file fsServerConnection.cpp.
References m_strServer.
Referenced by fsHttpFiles::BuildFileList(), fsInternetURLServer::GetServerName(), and fsHttpFile::Open_imp().
| fsInternetSession * fsInternetServerConnection::GetSession | ( | ) |
Definition at line 48 of file fsServerConnection.cpp.
References m_pSession.
Referenced by fsHttpFiles::GetUrlInfo(), and fsHttpFile::SetupProxy().
| void fsInternetServerConnection::CloseHandle | ( | ) |
Definition at line 39 of file fsServerConnection.cpp.
References InternetCloseHandle(), m_hServer, and NULL.
Referenced by fsInternetURLServer::CloseHandle(), fsInternetURLFile::CloseHandle(), fsInternetURLServer::Connect(), fsHttpFiles::GetUrlInfo(), and ~fsInternetServerConnection().
| LPCSTR fsInternetServerConnection::GetLastError | ( | ) |
Definition at line 34 of file fsServerConnection.cpp.
References m_pszLastError.
Referenced by fsHttpFiles::GetLastError(), fsFtpFiles::GetLastError(), fsInternetURLFile::OpenEx(), fsInternetURLFile::QuerySize(), and fsFtpConnection::ReceiveExtError().
| virtual fsInternetResult fsInternetServerConnection::Connect | ( | LPCSTR | pszServer, | |
| LPCSTR | pszUser, | |||
| LPCSTR | pszPassword, | |||
| INTERNET_PORT | nPort | |||
| ) | [virtual] |
Reimplemented in fsFtpConnection, fsHttpConnection, fsFtpConnection, and fsHttpConnection.
Referenced by fsInternetURLServer::Connect(), fsInternetURLFile::OpenEx(), and fsInternetURLFile::QuerySize().
| fsInternetResult fsInternetServerConnection::Initialize | ( | class fsInternetSession * | pSession | ) |
Definition at line 28 of file fsServerConnection.cpp.
References IR_SUCCESS, and m_pSession.
Referenced by fsHttpFiles::GetUrlInfo(), fsInternetURLServer::Initialize(), fsInternetURLFile::OpenEx(), and fsInternetURLFile::QuerySize().
| HINTERNET fsInternetServerConnection::GetHandle | ( | ) |
Definition at line 23 of file fsServerConnection.cpp.
References m_hServer.
Referenced by fsFtpFiles::BuildList(), fsInternetURLServer::GetHandle(), fsHttpFile::Open_imp(), fsHttpFile::OpenEx(), fsFtpFile::OpenEx(), fsFtpFile::QuerySize(), and fsFtpFile::Send_LIST().
| INTERNET_PORT fsInternetServerConnection::GetServerPort | ( | ) |
| LPCSTR fsInternetServerConnection::GetServerName | ( | ) |
| class fsInternetSession* fsInternetServerConnection::GetSession | ( | ) |
| void fsInternetServerConnection::CloseHandle | ( | ) |
| LPCSTR fsInternetServerConnection::GetLastError | ( | ) |
| virtual fsInternetResult fsInternetServerConnection::Connect | ( | LPCSTR | pszServer, | |
| LPCSTR | pszUser, | |||
| LPCSTR | pszPassword, | |||
| INTERNET_PORT | nPort | |||
| ) | [virtual] |
Reimplemented in fsFtpConnection, fsHttpConnection, fsFtpConnection, and fsHttpConnection.
| fsInternetResult fsInternetServerConnection::Initialize | ( | class fsInternetSession * | pSession | ) |
| HINTERNET fsInternetServerConnection::GetHandle | ( | ) |
INTERNET_PORT fsInternetServerConnection::m_uPort [protected] |
Definition at line 46 of file fsServerConnection.h.
Referenced by fsHttpConnection::Connect(), fsFtpConnection::Connect(), and GetServerPort().
fsString fsInternetServerConnection::m_strServer [protected] |
Definition at line 47 of file fsServerConnection.h.
Referenced by fsHttpConnection::Connect(), fsFtpConnection::Connect(), and GetServerName().
char * fsInternetServerConnection::m_pszLastError [protected] |
Definition at line 48 of file fsServerConnection.h.
Referenced by fsInternetServerConnection(), GetLastError(), fsFtpConnection::ReceiveExtError(), and ~fsInternetServerConnection().
HINTERNET fsInternetServerConnection::m_hServer [protected] |
Definition at line 49 of file fsServerConnection.h.
Referenced by CloseHandle(), fsHttpConnection::Connect(), fsFtpConnection::Connect(), fsInternetServerConnection(), GetHandle(), and fsFtpConnection::SetCurrentDirectory().
class fsInternetSession * fsInternetServerConnection::m_pSession [protected] |
Definition at line 50 of file fsServerConnection.h.
Referenced by fsHttpConnection::Connect(), fsFtpConnection::Connect(), fsInternetServerConnection(), GetSession(), and Initialize().
1.5.6