• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

dht::RPCCall

dht::RPCCall Class Reference

#include <rpccall.h>

Inheritance diagram for dht::RPCCall:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Joris Guisson

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

dht::RPCCall::RPCCall ( RPCServer *  rpc,
MsgBase *  msg,
bool  queued 
)

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

Get the message type.

Definition at line 65 of file rpccall.cpp.

MsgBase* dht::RPCCall::getRequest (  )  [inline]

Get the request sent.

Definition at line 92 of file rpccall.h.

const MsgBase* dht::RPCCall::getRequest (  )  const [inline]

Get the request sent.

Definition at line 89 of file rpccall.h.

void dht::RPCCall::onCallResponse ( RPCCall *  c,
MsgBase *  rsp 
) [signal]

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:
  • rpccall.h
  • rpccall.cpp

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal