2#ifndef HTTP_HTTPSERVERPROXY_H
3#define HTTP_HTTPSERVERPROXY_H
The common base class of Nebula.
Definition refcounted.h:38
Client-side proxy of the HttpServer.
Definition httpserverproxy.h:26
void Open()
open the server proxy
Definition httpserverproxy.cc:41
HttpServerProxy()
constructor
Definition httpserverproxy.cc:22
Util::Array< Ptr< HttpRequestHandler > > requestHandlers
Definition httpserverproxy.h:50
void AttachRequestHandler(const Ptr< Http::HttpRequestHandler > &h)
attach a request handler to the server
Definition httpserverproxy.cc:68
void HandlePendingRequests()
handle pending http requests, call this method frequently
Definition httpserverproxy.cc:112
__DeclareSingleton(HttpServerProxy)
__DeclareClass(HttpServerProxy)
void Close()
close the server proxy
Definition httpserverproxy.cc:52
bool IsOpen() const
return true if open
Definition httpserverproxy.h:58
void RemoveRequestHandler(const Ptr< Http::HttpRequestHandler > &h)
remove a request handler from the server
Definition httpserverproxy.cc:88
virtual ~HttpServerProxy()
destructor
Definition httpserverproxy.cc:31
bool isOpen
Definition httpserverproxy.h:51
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Nebula's dynamic array class.
Definition array.h:60
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15