kget
dht::RPCCall Class Reference
#include <rpccall.h>
Inheritance diagram for dht::RPCCall:

Detailed Description
Definition at line 61 of file rpccall.h.
Signals | |
| void | onCallResponse (RPCCall *c, MsgBase *rsp) |
| void | onCallTimeout (RPCCall *c) |
Public Member Functions | |
| void | addListener (RPCCallListener *cl) |
| Method | getMsgMethod () const |
| MsgBase * | getRequest () |
| const MsgBase * | getRequest () const |
| void | response (MsgBase *rsp) |
| RPCCall (RPCServer *rpc, MsgBase *msg, bool queued) | |
| void | start () |
| virtual | ~RPCCall () |
Constructor & Destructor Documentation
Definition at line 34 of file rpccall.cpp.
| dht::RPCCall::~RPCCall | ( | ) | [virtual] |
Definition at line 43 of file rpccall.cpp.
Member Function Documentation
| void dht::RPCCall::addListener | ( | RPCCallListener * | cl | ) |
Add a listener for this call.
- Parameters:
-
cl The listener
Definition at line 73 of file rpccall.cpp.
| Method dht::RPCCall::getMsgMethod | ( | ) | const |
| MsgBase* dht::RPCCall::getRequest | ( | ) | [inline] |
| const MsgBase* dht::RPCCall::getRequest | ( | ) | const [inline] |
| void dht::RPCCall::onCallTimeout | ( | RPCCall * | c | ) | [signal] |
| void dht::RPCCall::response | ( | MsgBase * | rsp | ) |
Called by the server if a response is received.
- Parameters:
-
rsp
Definition at line 60 of file rpccall.cpp.
| void dht::RPCCall::start | ( | ) |
Called when a queued call gets started.
Starts the timeout timer.
Definition at line 48 of file rpccall.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference