mirror of
https://github.com/siemens-mobile-hacks/apoxi.git
synced 2026-11-25 23:57:35 +00:00
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/* ------------------------------------------------------------------------
|
|
Copyright (C) COMNEON electronic technology GmbH & Co. OHG.
|
|
All rights reserved.
|
|
------------------------------------------------------------------------
|
|
This document contains proprietary information belonging to COMNEON.
|
|
Passing on and copying of this document, use and communication of its
|
|
contents is not permitted without prior written authorisation.
|
|
------------------------------------------------------------------------ */
|
|
|
|
#if !defined(Apoxi_AddOns_Server_HttpServer_HttpServerSocket_hpp)
|
|
#define Apoxi_AddOns_Server_HttpServer_HttpServerSocket_hpp
|
|
|
|
#include <Socket/TcpServerSocket.hpp>
|
|
#include <AddOns/Server/Server.hpp>
|
|
|
|
class HttpServerSocket;
|
|
|
|
typedef NiSharedPtr<HttpServerSocket> HttpServerSocketPtr;
|
|
|
|
class HttpServerSocket : public TcpServerSocket
|
|
{
|
|
typedef TcpServerSocket Base;
|
|
|
|
public:
|
|
HttpServerSocket(Server* server);
|
|
|
|
virtual ~HttpServerSocket();
|
|
|
|
protected:
|
|
virtual void OnAsyncEvent(Event event);
|
|
|
|
private:
|
|
// parent server
|
|
Server* m_server;
|
|
|
|
};
|
|
|
|
#endif // Apoxi_AddOns_Server_HttpServer_HttpServerSocket_hpp
|
|
|