NymphRPC Remote Procedure Call Library
Public Member Functions | Friends | List of all members
NymphMethod Class Reference

Public Member Functions

 NymphMethod (std::string name, std::vector< NymphTypes > parameters, NymphTypes retType)
 
 NymphMethod (std::string name, std::vector< NymphTypes > parameters, NymphTypes retType, NymphMethodCallback cb)
 
void setCallback (NymphMethodCallback callback)
 
NymphMessagecallCallback (int handle, NymphMessage *msg)
 
bool call (Poco::Net::StreamSocket *socket, NymphRequest *&request, std::vector< NymphType * > &values, std::string &result)
 
bool call (NymphSession *session, std::vector< NymphType * > &values, std::string &result)
 
void setId (uint32_t id)
 
uint32_t getId ()
 
std::string getSerialized ()
 
bool enableCallback (bool state=true)
 

Friends

class NymphRemoteClient
 
class NymphRemoteServer
 

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