#include <registry.hpp>
| Id | Type used as key for the functions. | |
| ArchivePair | Pair of Boost.Serialization archives to be used for marshaling. |
Public Types | |
| typedef Id | id_type |
| typedef ArchivePair | archive_type |
Public Member Functions | |
| template<typename Signature> | |
| void | set (Id id, const boost::function< Signature > &f) |
| Adds a function and its id to the registry. | |
| void | operator() (const std::string &id_and_params, const call_options &options, std::string *result=NULL) |
| Executes a function call. | |
| void boost::rpc::registry< Id, ArchivePair >::set | ( | Id | id, | |
| const boost::function< Signature > & | f | |||
| ) | [inline] |
| void boost::rpc::registry< Id, ArchivePair >::operator() | ( | const std::string & | id_and_params, | |
| const call_options & | options, | |||
| std::string * | result = NULL | |||
| ) | [inline] |
Executes a function call.
| id_and_params | Marshaled id of the function to call and the parameters. | |
| options | Options specifying the results to be marshaled back. | |
| result | A string to contain the marshaled results. |
1.5.2