#include <vmsHttpConnection.h>
Public Member Functions | |
| void | Attach (SOCKET sConnection) |
| void | Shutdown () |
| vmsHttpConnection (vmsHttpServer *pServer) | |
| virtual | ~vmsHttpConnection () |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadConnection (LPVOID lp) |
Protected Attributes | |
| vmsHttpRequest | m_request |
| SOCKET | m_sConnection |
| vmsHttpServer * | m_pServer |
Definition at line 18 of file vmsHttpConnection.h.
| vmsHttpConnection::vmsHttpConnection | ( | vmsHttpServer * | pServer | ) |
| vmsHttpConnection::~vmsHttpConnection | ( | ) | [virtual] |
| void vmsHttpConnection::Attach | ( | SOCKET | sConnection | ) |
Definition at line 23 of file vmsHttpConnection.cpp.
References _threadConnection(), m_sConnection, and NULL.
Referenced by vmsHttpServer::_threadServer().
| void vmsHttpConnection::Shutdown | ( | ) |
Definition at line 61 of file vmsHttpConnection.cpp.
References m_sConnection, and asio::detail::socket_ops::shutdown().
Referenced by _threadConnection(), and ~vmsHttpConnection().
| DWORD WINAPI vmsHttpConnection::_threadConnection | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 32 of file vmsHttpConnection.cpp.
References FALSE, vmsHttpServer::get_ResourceContainer(), m_pServer, m_request, m_sConnection, NULL, vmsHttpResourceContainer::ProcessRequest(), vmsHttpRequest::Receive(), vmsHttpResponse::Send(), vmsHttpResponse::set_Body(), vmsHttpResponse::set_HttpVersion(), vmsHttpResponse::set_ResponseCode(), and Shutdown().
Referenced by Attach().
vmsHttpRequest vmsHttpConnection::m_request [protected] |
SOCKET vmsHttpConnection::m_sConnection [protected] |
Definition at line 36 of file vmsHttpConnection.h.
Referenced by _threadConnection(), Attach(), Shutdown(), and vmsHttpConnection().
vmsHttpServer* vmsHttpConnection::m_pServer [protected] |
Definition at line 38 of file vmsHttpConnection.h.
Referenced by _threadConnection(), and vmsHttpConnection().
1.5.6