OverSim
JoinResponse Class Reference

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

#include <ChordMessage_m.h>

Inheritance diagram for JoinResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 JoinResponse (const char *name=NULL, int kind=0)
 JoinResponse (const JoinResponse &other)
virtual ~JoinResponse ()
JoinResponseoperator= (const JoinResponse &other)
virtual JoinResponsedup () 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)
- 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 JoinResponse &)
- 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
- 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 JoinResponse &other)

Detailed Description

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

packet JoinResponse extends BaseResponseMessage
{
    int sucNum;    
    NodeHandle sucNode[];    
    NodeHandle preNode;    
}

Definition at line 288 of file ChordMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

JoinResponse::JoinResponse ( const JoinResponse other)
virtual JoinResponse::~JoinResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Definition at line 308 of file ChordMessage_m.h.

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

Definition at line 321 of file ChordMessage_m.h.

Referenced by getPreNode().

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

Definition at line 318 of file ChordMessage_m.h.

Referenced by getSucNode().

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

Reimplemented from BaseResponseMessage.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Referenced by doUnpacking().

virtual void JoinResponse::setPreNode ( const NodeHandle preNode)
virtual

Referenced by oversim::Chord::rpcJoin().

virtual void JoinResponse::setSucNode ( unsigned int  k,
const NodeHandle sucNode 
)
virtual

Referenced by oversim::Chord::rpcJoin().

virtual void JoinResponse::setSucNodeArraySize ( unsigned int  size)
virtual

Referenced by oversim::Chord::rpcJoin().

virtual void JoinResponse::setSucNum ( int  sucNum)
virtual

Referenced by oversim::Chord::rpcJoin().

Member Data Documentation

NodeHandle JoinResponse::preNode_var
protected

Definition at line 294 of file ChordMessage_m.h.

unsigned int JoinResponse::sucNode_arraysize
protected

Definition at line 293 of file ChordMessage_m.h.

NodeHandle* JoinResponse::sucNode_var
protected

Definition at line 292 of file ChordMessage_m.h.

int JoinResponse::sucNum_var
protected

Definition at line 291 of file ChordMessage_m.h.


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