socket initialization and other fixes

This commit is contained in:
Guenter Obiltschnig
2009-04-14 11:02:21 +00:00
parent 457e24748d
commit 9cb9229a4e
17 changed files with 92 additions and 49 deletions

View File

@@ -1,7 +1,7 @@
//
// HTTPServerSession.h
//
// $Id: //poco/svn/Net/include/Poco/Net/HTTPServerSession.h#2 $
// $Id: //poco/Main/Net/include/Poco/Net/HTTPServerSession.h#5 $
//
// Library: Net
// Package: HTTPServer
@@ -43,6 +43,8 @@
#include "Poco/Net/Net.h"
#include "Poco/Net/HTTPSession.h"
#include "Poco/Net/SocketAddress.h"
#include "Poco/Net/HTTPServerSession.h"
#include "Poco/Net/HTTPServerParams.h"
#include "Poco/Timespan.h"
@@ -50,16 +52,13 @@ namespace Poco {
namespace Net {
class HTTPServerParams;
class Net_API HTTPServerSession: public HTTPSession
/// This class handles the server side of a
/// HTTP session. It is used internally by
/// HTTPServer.
{
public:
HTTPServerSession(const StreamSocket& socket, HTTPServerParams* pParams);
HTTPServerSession(const StreamSocket& socket, HTTPServerParams::Ptr pParams);
/// Creates the HTTPServerSession.
virtual ~HTTPServerSession();