Robust Distributed System Nucleus (rDSN)  ver 1.0.0
Public Member Functions | Static Public Member Functions | List of all members
dsn::service_app Class Referenceabstract

Public Member Functions

 service_app (dsn_gpid gpid)
 
virtual ::dsn::error_code start (int argc, char **argv)=0
 
virtual ::dsn::error_code stop (bool cleanup=false)=0
 
bool is_started () const
 
::dsn::rpc_address primary_address () const
 
const std::string & name () const
 
dsn_gpid get_gpid () const
 

Static Public Member Functions

template<typename TServiceApp >
static void * app_create (const char *, dsn_gpid gpid)
 
static dsn_error_t app_start (void *app, int argc, char **argv)
 
static dsn_error_t app_destroy (void *app, bool cleanup)
 

The documentation for this class was generated from the following file: