OverSim
FindNodeResponse Class Reference

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

#include <CommonMessages_m.h>

Inheritance diagram for FindNodeResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base ProxFindNodeResponse

Public Member Functions

 FindNodeResponse (const char *name=NULL, int kind=0)
 FindNodeResponse (const FindNodeResponse &other)
virtual ~FindNodeResponse ()
FindNodeResponseoperator= (const FindNodeResponse &other)
virtual FindNodeResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual bool getSiblings () const
virtual void setSiblings (bool siblings)
virtual void setClosestNodesArraySize (unsigned int size)
virtual unsigned int getClosestNodesArraySize () const
virtual NodeHandlegetClosestNodes (unsigned int k)
virtual const NodeHandlegetClosestNodes (unsigned int k) const
virtual void setClosestNodes (unsigned int k, const NodeHandle &closestNodes)
- 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 FindNodeResponse &)
- 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

bool siblings_var
NodeHandleclosestNodes_var
unsigned int closestNodes_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 FindNodeResponse &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet FindNodeResponse extends BaseResponseMessage
{

bool siblings;
NodeHandle closestNodes[];  

}

Definition at line 689 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

FindNodeResponse::FindNodeResponse ( const FindNodeResponse other)
virtual FindNodeResponse::~FindNodeResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Reimplemented in ProxFindNodeResponse.

Definition at line 708 of file CommonMessages_m.h.

{return new FindNodeResponse(*this);}
virtual NodeHandle& FindNodeResponse::getClosestNodes ( unsigned int  k)
virtual
virtual const NodeHandle& FindNodeResponse::getClosestNodes ( unsigned int  k) const
inlinevirtual

Definition at line 718 of file CommonMessages_m.h.

Referenced by getClosestNodes().

{return const_cast<FindNodeResponse*>(this)->getClosestNodes(k);}
virtual unsigned int FindNodeResponse::getClosestNodesArraySize ( ) const
virtual
virtual bool FindNodeResponse::getSiblings ( ) const
virtual
FindNodeResponse& FindNodeResponse::operator= ( const FindNodeResponse other)
bool FindNodeResponse::operator== ( const FindNodeResponse )
protected
virtual void FindNodeResponse::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseResponseMessage.

Reimplemented in ProxFindNodeResponse.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Reimplemented in ProxFindNodeResponse.

Referenced by doUnpacking().

virtual void FindNodeResponse::setClosestNodes ( unsigned int  k,
const NodeHandle closestNodes 
)
virtual
virtual void FindNodeResponse::setClosestNodesArraySize ( unsigned int  size)
virtual
virtual void FindNodeResponse::setSiblings ( bool  siblings)
virtual

Member Data Documentation

unsigned int FindNodeResponse::closestNodes_arraysize
protected

Definition at line 694 of file CommonMessages_m.h.

NodeHandle* FindNodeResponse::closestNodes_var
protected

Definition at line 693 of file CommonMessages_m.h.

bool FindNodeResponse::siblings_var
protected

Definition at line 692 of file CommonMessages_m.h.


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