Go to the documentation of this file.
5 #ifndef _DHTMESSAGE_M_H_
6 #define _DHTMESSAGE_M_H_
11 #define MSGC_VERSION 0x0402
12 #if (MSGC_VERSION!=OMNETPP_VERSION)
13 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
18 #include <IPvXAddress.h>
29 #define RESULT_L(msg) (resultValuesBitLength(msg) + msg->getResultArraySize() * (KEY_L + KIND_L + ID_L + SEQNO_L + TTL_L + KEY_L + PUBKEY_L))
30 #define PUTCALL_L(msg) (BASECALL_L(msg) + AUTHBLOCK_L + msg->getValue().size() * sizeof(char) + (KEY_L + KIND_L + ID_L + SEQNO_L + TTL_L + KEY_L + PUBKEY_L))
31 #define GETCALL_L(msg) (BASECALL_L(msg) + KEY_L + KIND_L + ID_L + sizeof(bool))
32 #define PUTRESPONSE_L(msg) (BASERESPONSE_L(msg) + SUCCESS_L)
33 #define GETRESPONSE_L(msg) (BASERESPONSE_L(msg) + KEY_L + msg->getHashValue().size() * sizeof(char) \
90 virtual uint32_t
getKind()
const;
91 virtual void setKind(uint32_t kind);
92 virtual uint32_t
getId()
const;
93 virtual void setId(uint32_t
id);
94 virtual int getTtl()
const;
95 virtual void setTtl(
int ttl);
136 DHTGetCall(
const char *name=NULL,
int kind=0);
148 virtual uint32_t
getKind()
const;
149 virtual void setKind(uint32_t kind);
150 virtual uint32_t
getId()
const;
151 virtual void setId(uint32_t
id);
291 virtual uint32_t
getKind()
const;
292 virtual void setKind(uint32_t kind);
293 virtual uint32_t
getId()
const;
294 virtual void setId(uint32_t
id);
301 #endif // _DHTMESSAGE_M_H_