CppCMS
|
an interface for creating user applications More...
#include <cppcms/applications_pool.h>
Public Member Functions | |
booster::intrusive_ptr< application > | asynchronous_application_by_io_service (booster::aio::io_service &io_srv, cppcms::service &srv) |
booster::intrusive_ptr< application > | asynchronous_application_by_io_service (booster::aio::io_service &io_srv) |
Public Member Functions inherited from booster::enable_shared_from_this< application_specific_pool > | |
shared_ptr< application_specific_pool > | shared_from_this () |
shared_ptr< application_specific_poolconst > | shared_from_this () const |
void | _internal_accept_owner (shared_ptr< X > const *ppx, Y *py) const |
Protected Member Functions | |
virtual application * | new_application (service &srv)=0 |
Protected Member Functions inherited from booster::enable_shared_from_this< application_specific_pool > | |
enable_shared_from_this (enable_shared_from_this const &) | |
enable_shared_from_this & | operator= (enable_shared_from_this const &) |
Friends | |
class | applications_pool |
class | application |
class | http::context |
void | booster::intrusive_ptr_release (cppcms::application *app) |
an interface for creating user applications
booster::intrusive_ptr<application> cppcms::application_specific_pool::asynchronous_application_by_io_service | ( | booster::aio::io_service & | io_srv, |
cppcms::service & | srv | ||
) |
Returns asynchronous application that runs at given booster::aio::io_service constext, it the application does not exist yet, it is created
Notes:
booster::intrusive_ptr<application> cppcms::application_specific_pool::asynchronous_application_by_io_service | ( | booster::aio::io_service & | io_srv | ) |
Returns asynchronous application that runs at given booster::aio::io_service constext, it the application does not exist yet NULL pointer is returned
Notes:
|
protectedpure virtual |
Returns newly created instance of an application, its ownership is transferred