vmsHttpServer Class Reference

#include <vmsHttpServer.h>

List of all members.

Public Member Functions

BOOL Start ()
void set_Port (unsigned short nPort)
unsigned short get_Port ()
void Shutdown ()
vmsHttpResourceContainerget_ResourceContainer ()
 vmsHttpServer (vmsHttpResourceContainer *pResources)
virtual ~vmsHttpServer ()

Static Protected Member Functions

static DWORD WINAPI _threadServer (LPVOID lp)

Protected Attributes

vmsHttpResourceContainerm_pResources
HANDLE m_hStopEvent
BOOL m_bServerRunning
SOCKET m_sServer
unsigned short m_nPort
std::vector< vmsHttpConnection * > m_vConnections


Detailed Description

Definition at line 19 of file vmsHttpServer.h.


Constructor & Destructor Documentation

vmsHttpServer::vmsHttpServer ( vmsHttpResourceContainer pResources  ) 

Definition at line 11 of file vmsHttpServer.cpp.

References FALSE, m_bServerRunning, m_hStopEvent, m_nPort, m_pResources, m_sServer, NULL, and TRUE.

vmsHttpServer::~vmsHttpServer (  )  [virtual]

Definition at line 20 of file vmsHttpServer.cpp.

References m_hStopEvent, and Shutdown().


Member Function Documentation

BOOL vmsHttpServer::Start (  ) 

void vmsHttpServer::set_Port ( unsigned short  nPort  ) 

Definition at line 115 of file vmsHttpServer.cpp.

References m_nPort.

Referenced by CWebInterfaceDlg::OnInitDialog(), and CWebInterfaceDlg::OnOK().

unsigned short vmsHttpServer::get_Port (  ) 

Definition at line 110 of file vmsHttpServer.cpp.

References m_nPort.

Referenced by CWebInterfaceDlg::OnInitDialog(), and CWebInterfaceDlg::OnOK().

void vmsHttpServer::Shutdown (  ) 

Definition at line 99 of file vmsHttpServer.cpp.

References FALSE, m_bServerRunning, and m_hStopEvent.

Referenced by CWebInterfaceDlg::OnOK(), and ~vmsHttpServer().

vmsHttpResourceContainer * vmsHttpServer::get_ResourceContainer (  ) 

Definition at line 94 of file vmsHttpServer.cpp.

References m_pResources.

Referenced by vmsHttpConnection::_threadConnection().

DWORD WINAPI vmsHttpServer::_threadServer ( LPVOID  lp  )  [static, protected]


Member Data Documentation

Definition at line 36 of file vmsHttpServer.h.

Referenced by get_ResourceContainer(), and vmsHttpServer().

HANDLE vmsHttpServer::m_hStopEvent [protected]

Definition at line 38 of file vmsHttpServer.h.

Referenced by _threadServer(), Shutdown(), vmsHttpServer(), and ~vmsHttpServer().

Definition at line 40 of file vmsHttpServer.h.

Referenced by _threadServer(), Shutdown(), Start(), and vmsHttpServer().

SOCKET vmsHttpServer::m_sServer [protected]

Definition at line 44 of file vmsHttpServer.h.

Referenced by _threadServer(), Start(), and vmsHttpServer().

unsigned short vmsHttpServer::m_nPort [protected]

Definition at line 46 of file vmsHttpServer.h.

Referenced by get_Port(), set_Port(), Start(), and vmsHttpServer().

Definition at line 48 of file vmsHttpServer.h.

Referenced by _threadServer().


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

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