OverSim
DHTGetCall Class Reference

Class generated from applications/dht/DHTMessage.msg by opp_msgc. More...

#include <DHTMessage_m.h>

Inheritance diagram for DHTGetCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base CBRDHTGetCall

Public Member Functions

 DHTGetCall (const char *name=NULL, int kind=0)
 DHTGetCall (const DHTGetCall &other)
virtual ~DHTGetCall ()
DHTGetCalloperator= (const DHTGetCall &other)
virtual DHTGetCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetKey ()
virtual const OverlayKeygetKey () const
virtual void setKey (const OverlayKey &key)
virtual uint32_t getKind () const
virtual void setKind (uint32_t kind)
virtual uint32_t getId () const
virtual void setId (uint32_t id)
virtual bool getIsHash () const
virtual void setIsHash (bool isHash)
- Public Member Functions inherited from BaseCallMessage
 BaseCallMessage (const char *name=NULL, int kind=0)
 BaseCallMessage (const BaseCallMessage &other)
virtual ~BaseCallMessage ()
BaseCallMessageoperator= (const BaseCallMessage &other)
- Public Member Functions inherited from BaseRpcMessage
 BaseRpcMessage (const char *name=NULL, int kind=0)
 BaseRpcMessage (const BaseRpcMessage &other)
virtual ~BaseRpcMessage ()
BaseRpcMessageoperator= (const BaseRpcMessage &other)
virtual unsigned int getNonce () const
virtual void setNonce (unsigned int nonce)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual void setAuthBlockArraySize (uint8_t size)
virtual uint8_t getAuthBlockArraySize () const
virtual AuthBlockgetAuthBlock (uint8_t k)
virtual const AuthBlockgetAuthBlock (uint8_t k) const
virtual void setAuthBlock (uint8_t k, const AuthBlock &authBlock)
- Public Member Functions inherited from BaseOverlayMessage
 BaseOverlayMessage (const char *name=NULL, int kind=0)
 BaseOverlayMessage (const BaseOverlayMessage &other)
virtual ~BaseOverlayMessage ()
BaseOverlayMessageoperator= (const BaseOverlayMessage &other)
virtual int getType () const
virtual void setType (int type)
virtual int getStatType () const
virtual void setStatType (int statType)
- Public Member Functions inherited from OverSimMessage
 OverSimMessage (const char *name=NULL, int kind=0)
 OverSimMessage (const OverSimMessage &other)
OverSimMessageoperator= (const OverSimMessage &other)
- Public Member Functions inherited from OverSimMessage_Base
virtual ~OverSimMessage_Base ()

Protected Member Functions

bool operator== (const DHTGetCall &)
- Protected Member Functions inherited from BaseCallMessage
bool operator== (const BaseCallMessage &)
- Protected Member Functions inherited from BaseRpcMessage
bool operator== (const BaseRpcMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

OverlayKey key_var
uint32_t kind_var
uint32_t id_var
bool isHash_var

Private Member Functions

void copy (const DHTGetCall &other)

Detailed Description

Class generated from applications/dht/DHTMessage.msg by opp_msgc.

packet DHTGetCall extends BaseCallMessage
{
    OverlayKey key;
    uint32_t kind;
    uint32_t id;
    bool isHash;
}

Definition at line 120 of file DHTMessage_m.h.

Constructor & Destructor Documentation

DHTGetCall::DHTGetCall ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

DHTGetCall::DHTGetCall ( const DHTGetCall other)
virtual DHTGetCall::~DHTGetCall ( )
virtual

Member Function Documentation

void DHTGetCall::copy ( const DHTGetCall other)
private
virtual DHTGetCall* DHTGetCall::dup ( ) const
inlinevirtual

Reimplemented from BaseCallMessage.

Reimplemented in CBRDHTGetCall.

Definition at line 140 of file DHTMessage_m.h.

{return new DHTGetCall(*this);}
virtual uint32_t DHTGetCall::getId ( ) const
virtual

Referenced by DHT::handleGetRequest().

virtual bool DHTGetCall::getIsHash ( ) const
virtual

Referenced by DHT::handleGetRequest().

virtual OverlayKey& DHTGetCall::getKey ( )
virtual
virtual const OverlayKey& DHTGetCall::getKey ( ) const
inlinevirtual

Definition at line 146 of file DHTMessage_m.h.

Referenced by getKey().

{return const_cast<DHTGetCall*>(this)->getKey();}
virtual uint32_t DHTGetCall::getKind ( ) const
virtual

Referenced by DHT::handleGetRequest().

DHTGetCall& DHTGetCall::operator= ( const DHTGetCall other)
bool DHTGetCall::operator== ( const DHTGetCall )
protected
virtual void DHTGetCall::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseCallMessage.

Reimplemented in CBRDHTGetCall.

Referenced by doPacking().

virtual void DHTGetCall::parsimUnpack ( cCommBuffer *  b)
virtual

Reimplemented from BaseCallMessage.

Reimplemented in CBRDHTGetCall.

Referenced by doUnpacking().

Member Data Documentation

uint32_t DHTGetCall::id_var
protected

Definition at line 125 of file DHTMessage_m.h.

bool DHTGetCall::isHash_var
protected

Definition at line 126 of file DHTMessage_m.h.

OverlayKey DHTGetCall::key_var
protected

Definition at line 123 of file DHTMessage_m.h.

uint32_t DHTGetCall::kind_var
protected

Definition at line 124 of file DHTMessage_m.h.


The documentation for this class was generated from the following file: