#include <DHTMessage_m.h>

applications/dht/DHTMessage.msg by opp_msgc.
packet DHTPutCall extends DHTMessageCall { BinaryValue value; int ttl; bool isModifiable; bool maintenance; NodeHandle ownerNode; }
Definition at line 83 of file DHTMessage_m.h.
Public Member Functions | |
| DHTPutCall (const char *name=NULL, int kind=0) | |
| DHTPutCall (const DHTPutCall &other) | |
| virtual | ~DHTPutCall () |
| DHTPutCall & | operator= (const DHTPutCall &other) |
| virtual DHTPutCall * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual BinaryValue & | getValue () |
| virtual const BinaryValue & | getValue () const |
| virtual void | setValue (const BinaryValue &value_var) |
| virtual int | getTtl () const |
| virtual void | setTtl (int ttl_var) |
| virtual bool | getIsModifiable () const |
| virtual void | setIsModifiable (bool isModifiable_var) |
| virtual bool | getMaintenance () const |
| virtual void | setMaintenance (bool maintenance_var) |
| virtual NodeHandle & | getOwnerNode () |
| virtual const NodeHandle & | getOwnerNode () const |
| virtual void | setOwnerNode (const NodeHandle &ownerNode_var) |
Protected Member Functions | |
| bool | operator== (const DHTPutCall &) |
Protected Attributes | |
| BinaryValue | value_var |
| int | ttl_var |
| bool | isModifiable_var |
| bool | maintenance_var |
| NodeHandle | ownerNode_var |
| DHTPutCall::DHTPutCall | ( | const char * | name = NULL, |
|
| int | kind = 0 | |||
| ) |
Referenced by dup().
| DHTPutCall::DHTPutCall | ( | const DHTPutCall & | other | ) |
| virtual DHTPutCall::~DHTPutCall | ( | ) | [virtual] |
| bool DHTPutCall::operator== | ( | const DHTPutCall & | ) | [protected] |
| DHTPutCall& DHTPutCall::operator= | ( | const DHTPutCall & | other | ) |
| virtual DHTPutCall* DHTPutCall::dup | ( | ) | const [inline, virtual] |
Reimplemented from DHTMessageCall.
Definition at line 100 of file DHTMessage_m.h.
00100 {return new DHTPutCall(*this);}
| virtual void DHTPutCall::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
| virtual void DHTPutCall::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
| virtual BinaryValue& DHTPutCall::getValue | ( | ) | [virtual] |
Referenced by getValue(), and DHT::handlePutRequest().
| virtual const BinaryValue& DHTPutCall::getValue | ( | ) | const [inline, virtual] |
Definition at line 106 of file DHTMessage_m.h.
00106 {return const_cast<DHTPutCall*>(this)->getValue();}
| virtual void DHTPutCall::setValue | ( | const BinaryValue & | value_var | ) | [virtual] |
Referenced by DHT::handleLookupResponse(), and DHT::update().
| virtual int DHTPutCall::getTtl | ( | ) | const [virtual] |
Referenced by DHT::handlePutRequest().
| virtual void DHTPutCall::setTtl | ( | int | ttl_var | ) | [virtual] |
Referenced by DHT::handleLookupResponse(), and DHT::update().
| virtual bool DHTPutCall::getIsModifiable | ( | ) | const [virtual] |
Referenced by DHT::handlePutRequest().
| virtual void DHTPutCall::setIsModifiable | ( | bool | isModifiable_var | ) | [virtual] |
Referenced by DHT::handleLookupResponse(), and DHT::update().
| virtual bool DHTPutCall::getMaintenance | ( | ) | const [virtual] |
Referenced by DHT::handlePutRequest().
| virtual void DHTPutCall::setMaintenance | ( | bool | maintenance_var | ) | [virtual] |
Referenced by DHT::handleLookupResponse(), and DHT::update().
| virtual NodeHandle& DHTPutCall::getOwnerNode | ( | ) | [virtual] |
Referenced by getOwnerNode(), and DHT::handlePutRequest().
| virtual const NodeHandle& DHTPutCall::getOwnerNode | ( | ) | const [inline, virtual] |
Definition at line 115 of file DHTMessage_m.h.
00115 {return const_cast<DHTPutCall*>(this)->getOwnerNode();}
| virtual void DHTPutCall::setOwnerNode | ( | const NodeHandle & | ownerNode_var | ) | [virtual] |
BinaryValue DHTPutCall::value_var [protected] |
Definition at line 86 of file DHTMessage_m.h.
int DHTPutCall::ttl_var [protected] |
Definition at line 87 of file DHTMessage_m.h.
bool DHTPutCall::isModifiable_var [protected] |
Definition at line 88 of file DHTMessage_m.h.
bool DHTPutCall::maintenance_var [protected] |
Definition at line 89 of file DHTMessage_m.h.
NodeHandle DHTPutCall::ownerNode_var [protected] |
Definition at line 90 of file DHTMessage_m.h.
1.5.5