OverSim
FindNodeCall Class Reference

Class generated from common/CommonMessages.msg by opp_msgc. More...

#include <CommonMessages_m.h>

Inheritance diagram for FindNodeCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base ProxFindNodeCall

Public Member Functions

 FindNodeCall (const char *name=NULL, int kind=0)
 FindNodeCall (const FindNodeCall &other)
virtual ~FindNodeCall ()
FindNodeCalloperator= (const FindNodeCall &other)
virtual FindNodeCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetLookupKey ()
virtual const OverlayKeygetLookupKey () const
virtual void setLookupKey (const OverlayKey &lookupKey)
virtual int getNumRedundantNodes () const
virtual void setNumRedundantNodes (int numRedundantNodes)
virtual int getNumSiblings () const
virtual void setNumSiblings (int numSiblings)
virtual bool getExhaustiveIterative () const
virtual void setExhaustiveIterative (bool exhaustiveIterative)
- 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 FindNodeCall &)
- 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 lookupKey_var
int numRedundantNodes_var
int numSiblings_var
bool exhaustiveIterative_var

Private Member Functions

void copy (const FindNodeCall &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet FindNodeCall extends BaseCallMessage
{
    OverlayKey lookupKey;   
    int numRedundantNodes;  
    int numSiblings;        
    bool exhaustiveIterative = false; 
}

Definition at line 639 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

FindNodeCall::FindNodeCall ( const FindNodeCall other)
virtual FindNodeCall::~FindNodeCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Reimplemented in ProxFindNodeCall.

Definition at line 659 of file CommonMessages_m.h.

{return new FindNodeCall(*this);}
virtual bool FindNodeCall::getExhaustiveIterative ( ) const
virtual
virtual OverlayKey& FindNodeCall::getLookupKey ( )
virtual
virtual const OverlayKey& FindNodeCall::getLookupKey ( ) const
inlinevirtual

Definition at line 665 of file CommonMessages_m.h.

Referenced by getLookupKey().

{return const_cast<FindNodeCall*>(this)->getLookupKey();}
virtual int FindNodeCall::getNumRedundantNodes ( ) const
virtual
virtual int FindNodeCall::getNumSiblings ( ) const
virtual
FindNodeCall& FindNodeCall::operator= ( const FindNodeCall other)
bool FindNodeCall::operator== ( const FindNodeCall )
protected
virtual void FindNodeCall::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseCallMessage.

Reimplemented in ProxFindNodeCall.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Reimplemented in ProxFindNodeCall.

Referenced by doUnpacking().

virtual void FindNodeCall::setExhaustiveIterative ( bool  exhaustiveIterative)
virtual
virtual void FindNodeCall::setLookupKey ( const OverlayKey lookupKey)
virtual
virtual void FindNodeCall::setNumRedundantNodes ( int  numRedundantNodes)
virtual
virtual void FindNodeCall::setNumSiblings ( int  numSiblings)
virtual

Member Data Documentation

bool FindNodeCall::exhaustiveIterative_var
protected

Definition at line 645 of file CommonMessages_m.h.

OverlayKey FindNodeCall::lookupKey_var
protected

Definition at line 642 of file CommonMessages_m.h.

int FindNodeCall::numRedundantNodes_var
protected

Definition at line 643 of file CommonMessages_m.h.

int FindNodeCall::numSiblings_var
protected

Definition at line 644 of file CommonMessages_m.h.


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