35 while (
dabc::mgr()->cfg()->NextCreationNode(node,
"HttpServer",
true)) {
43 if (name!=0) objname = name;
44 if (objname.length()==0) objname =
"/http";
45 if (objname[0]!=
'/') objname = std::string(
"/") + objname;
46 if ((thrdname==0) || (*thrdname==0)) thrdname =
"HttpThread";
53 #ifndef DABC_WITHOUT_FASTCGI
55 while (
dabc::mgr()->cfg()->NextCreationNode(node,
"FastCgiServer",
true)) {
63 if (name!=0) objname = name;
64 if (objname.length()==0) objname =
"/fastcgi";
65 if (objname[0]!=
'/') objname = std::string(
"/") + objname;
66 if ((thrdname==0) || (*thrdname==0)) thrdname =
"HttpThread";
79 if (classname ==
"http::Server")
82 if (classname ==
"http::Civetweb")
85 if (classname ==
"http::FastCgi")
Represents command with its arguments.
Small helper class to correctly instantiate user-specific factories.
virtual Reference CreateObject(const std::string &classname, const std::string &objname, Command cmd)
Factory method to create object.
bool CreatePublisher()
Create publisher, which manage all published hierarchies.
Reference on the arbitrary object
Reference on dabc::Worker
bool MakeThreadForWorker(const std::string &thrdname="")
Server provides http access to DABC
Factory for HTTP-related classes in DABC
virtual dabc::Reference CreateObject(const std::string &classname, const std::string &objname, dabc::Command cmd)
Factory method to create object.
virtual void Initialize()
Method called by the manager during application start.
Server provides fastcgi access to DABC
Server provides http access to DABC
const char * GetAttr(XMLNodePointer_t xmlnode, const char *name)
const char * xmlThreadAttr
dabc::FactoryPlugin httpfactory(new http::Factory("http"))