libktorrent
2.2.0
|
#include <rpcmsgfactory.h>
Public Member Functions | |
RPCMsg::Ptr | build (bt::BDictNode *dict, RPCMethodResolver *method_resolver) |
Creates RPC message objects out of a BDictNode
Definition at line 44 of file rpcmsgfactory.h.
RPCMsg::Ptr dht::RPCMsgFactory::build | ( | bt::BDictNode * | dict, |
RPCMethodResolver * | method_resolver | ||
) |
Creates a message out of a BDictNode.
dict | The BDictNode |
srv | The RPCMethodResolver |
bt::Error | if something goes wrong |