NymphRPC Remote Procedure Call Library
Static Public Member Functions | List of all members
NymphRemoteServer Class Reference

Static Public Member Functions

static bool init (logFnc logger, int level=NYMPH_LOG_LEVEL_TRACE, long timeout=3000)
 
static void setLogger (logFnc logger, int level)
 
static bool shutdown ()
 
static bool connect (std::string host, int port, uint32_t &handle, void *data, std::string &result)
 
static bool connect (std::string url, uint32_t &handle, void *data, std::string &result)
 
static bool connect (Poco::Net::SocketAddress sa, uint32_t &handle, void *data, std::string &result)
 
static bool disconnect (uint32_t handle, std::string &result)
 
static bool callMethod (uint32_t handle, std::string name, std::vector< NymphType * > &values, NymphType *&returnvalue, std::string &result)
 
static bool callMethodId (uint32_t handle, uint32_t id, std::vector< NymphType * > &values, NymphType *&returnvalue, std::string &result)
 
static bool removeMethod (uint32_t handle, std::string name)
 
static bool registerCallback (std::string name, NymphCallbackMethod method, void *data)
 
static bool removeCallback (std::string name)
 

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