#include <CommonMessages_m.h>

common/CommonMessages.msg by opp_msgc.
packet FindNodeResponse extends BaseResponseMessage {
bool siblings;
NodeHandle closestNodes[];
}
Definition at line 587 of file CommonMessages_m.h.
Public Member Functions | |
| FindNodeResponse (const char *name=NULL, int kind=0) | |
| FindNodeResponse (const FindNodeResponse &other) | |
| virtual | ~FindNodeResponse () |
| FindNodeResponse & | operator= (const FindNodeResponse &other) |
| virtual FindNodeResponse * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual bool | getSiblings () const |
| virtual void | setSiblings (bool siblings_var) |
| virtual void | setClosestNodesArraySize (unsigned int size) |
| virtual unsigned int | getClosestNodesArraySize () const |
| virtual NodeHandle & | getClosestNodes (unsigned int k) |
| virtual const NodeHandle & | getClosestNodes (unsigned int k) const |
| virtual void | setClosestNodes (unsigned int k, const NodeHandle &closestNodes_var) |
Protected Member Functions | |
| bool | operator== (const FindNodeResponse &) |
Protected Attributes | |
| bool | siblings_var |
| NodeHandle * | closestNodes_var |
| unsigned int | closestNodes_arraysize |
| FindNodeResponse::FindNodeResponse | ( | const char * | name = NULL, |
|
| int | kind = 0 | |||
| ) |
Referenced by dup().
| FindNodeResponse::FindNodeResponse | ( | const FindNodeResponse & | other | ) |
| virtual FindNodeResponse::~FindNodeResponse | ( | ) | [virtual] |
| bool FindNodeResponse::operator== | ( | const FindNodeResponse & | ) | [protected] |
| FindNodeResponse& FindNodeResponse::operator= | ( | const FindNodeResponse & | other | ) |
| virtual FindNodeResponse* FindNodeResponse::dup | ( | ) | const [inline, virtual] |
Reimplemented from BaseResponseMessage.
Definition at line 602 of file CommonMessages_m.h.
00602 {return new FindNodeResponse(*this);}
| virtual void FindNodeResponse::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
| virtual void FindNodeResponse::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
| virtual bool FindNodeResponse::getSiblings | ( | ) | const [virtual] |
| virtual void FindNodeResponse::setSiblings | ( | bool | siblings_var | ) | [virtual] |
Referenced by BaseOverlay::findNodeRpc().
| virtual void FindNodeResponse::setClosestNodesArraySize | ( | unsigned int | size | ) | [virtual] |
Referenced by BaseOverlay::findNodeRpc().
| virtual unsigned int FindNodeResponse::getClosestNodesArraySize | ( | ) | const [virtual] |
Referenced by IterativePathLookup::handleResponse(), and RecursiveLookup::handleRpcResponse().
| virtual NodeHandle& FindNodeResponse::getClosestNodes | ( | unsigned int | k | ) | [virtual] |
Referenced by getClosestNodes(), IterativePathLookup::handleResponse(), and RecursiveLookup::handleRpcResponse().
| virtual const NodeHandle& FindNodeResponse::getClosestNodes | ( | unsigned int | k | ) | const [inline, virtual] |
Definition at line 612 of file CommonMessages_m.h.
00612 {return const_cast<FindNodeResponse*>(this)->getClosestNodes(k);}
| virtual void FindNodeResponse::setClosestNodes | ( | unsigned int | k, | |
| const NodeHandle & | closestNodes_var | |||
| ) | [virtual] |
Referenced by BaseOverlay::findNodeRpc().
bool FindNodeResponse::siblings_var [protected] |
Definition at line 590 of file CommonMessages_m.h.
NodeHandle* FindNodeResponse::closestNodes_var [protected] |
Definition at line 591 of file CommonMessages_m.h.
unsigned int FindNodeResponse::closestNodes_arraysize [protected] |
Definition at line 592 of file CommonMessages_m.h.
1.5.5