OverSim
NotifyResponse Class Reference

Class generated from overlay/chord/ChordMessage.msg by opp_msgc. More...

#include <ChordMessage_m.h>

Inheritance diagram for NotifyResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NotifyResponse (const char *name=NULL, int kind=0)
 NotifyResponse (const NotifyResponse &other)
virtual ~NotifyResponse ()
NotifyResponseoperator= (const NotifyResponse &other)
virtual NotifyResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual int getSucNum () const
virtual void setSucNum (int sucNum)
virtual void setSucNodeArraySize (unsigned int size)
virtual unsigned int getSucNodeArraySize () const
virtual NodeHandlegetSucNode (unsigned int k)
virtual const NodeHandlegetSucNode (unsigned int k) const
virtual void setSucNode (unsigned int k, const NodeHandle &sucNode)
virtual NodeHandlegetPreNode ()
virtual const NodeHandlegetPreNode () const
virtual void setPreNode (const NodeHandle &preNode)
virtual bool getPreNodeSet () const
virtual void setPreNodeSet (bool preNodeSet)
- 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 NotifyResponse &)
- 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

int sucNum_var
NodeHandlesucNode_var
unsigned int sucNode_arraysize
NodeHandle preNode_var
bool preNodeSet_var
- 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 NotifyResponse &other)

Detailed Description

Class generated from overlay/chord/ChordMessage.msg by opp_msgc.

packet NotifyResponse extends BaseResponseMessage
{
    int sucNum;    
    NodeHandle sucNode[];    
    NodeHandle preNode;    
    bool preNodeSet; 
}

Definition at line 200 of file ChordMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NotifyResponse::NotifyResponse ( const NotifyResponse other)
virtual NotifyResponse::~NotifyResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Definition at line 221 of file ChordMessage_m.h.

{return new NotifyResponse(*this);}
virtual NodeHandle& NotifyResponse::getPreNode ( )
virtual
virtual const NodeHandle& NotifyResponse::getPreNode ( ) const
inlinevirtual

Definition at line 234 of file ChordMessage_m.h.

Referenced by getPreNode().

{return const_cast<NotifyResponse*>(this)->getPreNode();}
virtual bool NotifyResponse::getPreNodeSet ( ) const
virtual
virtual NodeHandle& NotifyResponse::getSucNode ( unsigned int  k)
virtual
virtual const NodeHandle& NotifyResponse::getSucNode ( unsigned int  k) const
inlinevirtual

Definition at line 231 of file ChordMessage_m.h.

Referenced by getSucNode().

{return const_cast<NotifyResponse*>(this)->getSucNode(k);}
virtual unsigned int NotifyResponse::getSucNodeArraySize ( ) const
virtual
virtual int NotifyResponse::getSucNum ( ) const
virtual
NotifyResponse& NotifyResponse::operator= ( const NotifyResponse other)
bool NotifyResponse::operator== ( const NotifyResponse )
protected
virtual void NotifyResponse::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseResponseMessage.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Referenced by doUnpacking().

virtual void NotifyResponse::setPreNode ( const NodeHandle preNode)
virtual
virtual void NotifyResponse::setPreNodeSet ( bool  preNodeSet)
virtual
virtual void NotifyResponse::setSucNode ( unsigned int  k,
const NodeHandle sucNode 
)
virtual
virtual void NotifyResponse::setSucNodeArraySize ( unsigned int  size)
virtual
virtual void NotifyResponse::setSucNum ( int  sucNum)
virtual

Member Data Documentation

NodeHandle NotifyResponse::preNode_var
protected

Definition at line 206 of file ChordMessage_m.h.

bool NotifyResponse::preNodeSet_var
protected

Definition at line 207 of file ChordMessage_m.h.

unsigned int NotifyResponse::sucNode_arraysize
protected

Definition at line 205 of file ChordMessage_m.h.

NodeHandle* NotifyResponse::sucNode_var
protected

Definition at line 204 of file ChordMessage_m.h.

int NotifyResponse::sucNum_var
protected

Definition at line 203 of file ChordMessage_m.h.


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