OverSim
CBRDHTGetResponse Class Reference

Class generated from common/cbr/CBR-DHTMessage.msg by opp_msgc. More...

#include <CBR-DHTMessage_m.h>

Inheritance diagram for CBRDHTGetResponse:
DHTGetResponse BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 CBRDHTGetResponse (const char *name=NULL, int kind=0)
 CBRDHTGetResponse (const CBRDHTGetResponse &other)
virtual ~CBRDHTGetResponse ()
CBRDHTGetResponseoperator= (const CBRDHTGetResponse &other)
virtual CBRDHTGetResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetOriginalKey ()
virtual const OverlayKeygetOriginalKey () const
virtual void setOriginalKey (const OverlayKey &originalKey)
- Public Member Functions inherited from DHTGetResponse
 DHTGetResponse (const char *name=NULL, int kind=0)
 DHTGetResponse (const DHTGetResponse &other)
virtual ~DHTGetResponse ()
DHTGetResponseoperator= (const DHTGetResponse &other)
virtual OverlayKeygetKey ()
virtual const OverlayKeygetKey () const
virtual void setKey (const OverlayKey &key)
virtual BinaryValuegetHashValue ()
virtual const BinaryValuegetHashValue () const
virtual void setHashValue (const BinaryValue &hashValue)
virtual bool getIsHash () const
virtual void setIsHash (bool isHash)
virtual void setResultArraySize (unsigned int size)
virtual unsigned int getResultArraySize () const
virtual DhtDumpEntrygetResult (unsigned int k)
virtual const DhtDumpEntrygetResult (unsigned int k) const
virtual void setResult (unsigned int k, const DhtDumpEntry &result)
- Public Member Functions inherited from BaseResponseMessage
 BaseResponseMessage (const char *name=NULL, int kind=0)
 BaseResponseMessage (const BaseResponseMessage &other)
virtual ~BaseResponseMessage ()
BaseResponseMessageoperator= (const BaseResponseMessage &other)
virtual int getCallHopCount () const
virtual void setCallHopCount (int callHopCount)
virtual void setNcsInfoArraySize (unsigned int size)
virtual unsigned int getNcsInfoArraySize () const
virtual double getNcsInfo (unsigned int k) const
virtual void setNcsInfo (unsigned int k, double ncsInfo)
- 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 CBRDHTGetResponse &)
- Protected Member Functions inherited from DHTGetResponse
bool operator== (const DHTGetResponse &)
- Protected Member Functions inherited from BaseResponseMessage
bool operator== (const BaseResponseMessage &)
- Protected Member Functions inherited from BaseRpcMessage
bool operator== (const BaseRpcMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

OverlayKey originalKey_var
- Protected Attributes inherited from DHTGetResponse
OverlayKey key_var
BinaryValue hashValue_var
bool isHash_var
DhtDumpEntryresult_var
unsigned int result_arraysize
- Protected Attributes inherited from BaseResponseMessage
int callHopCount_var
double * ncsInfo_var
unsigned int ncsInfo_arraysize
- Protected Attributes inherited from BaseRpcMessage
unsigned int nonce_var
NodeHandle srcNode_var
AuthBlockauthBlock_var
uint8_t authBlock_arraysize
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const CBRDHTGetResponse &other)

Detailed Description

Class generated from common/cbr/CBR-DHTMessage.msg by opp_msgc.

packet CBRDHTGetResponse extends DHTGetResponse
{
    OverlayKey originalKey;
}

Definition at line 71 of file CBR-DHTMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

CBRDHTGetResponse::CBRDHTGetResponse ( const CBRDHTGetResponse other)
virtual CBRDHTGetResponse::~CBRDHTGetResponse ( )
virtual

Member Function Documentation

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

Reimplemented from DHTGetResponse.

Definition at line 88 of file CBR-DHTMessage_m.h.

{return new CBRDHTGetResponse(*this);}
virtual OverlayKey& CBRDHTGetResponse::getOriginalKey ( )
virtual
virtual const OverlayKey& CBRDHTGetResponse::getOriginalKey ( ) const
inlinevirtual

Definition at line 94 of file CBR-DHTMessage_m.h.

Referenced by getOriginalKey().

{return const_cast<CBRDHTGetResponse*>(this)->getOriginalKey();}
CBRDHTGetResponse& CBRDHTGetResponse::operator= ( const CBRDHTGetResponse other)
bool CBRDHTGetResponse::operator== ( const CBRDHTGetResponse )
protected
virtual void CBRDHTGetResponse::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from DHTGetResponse.

Referenced by doPacking().

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

Reimplemented from DHTGetResponse.

Referenced by doUnpacking().

virtual void CBRDHTGetResponse::setOriginalKey ( const OverlayKey originalKey)
virtual

Member Data Documentation

OverlayKey CBRDHTGetResponse::originalKey_var
protected

Definition at line 74 of file CBR-DHTMessage_m.h.


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