OverSim
NewSuccessorHintMessage Class Reference

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

#include <ChordMessage_m.h>

Inheritance diagram for NewSuccessorHintMessage:
ChordMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NewSuccessorHintMessage (const char *name=NULL, int kind=0)
 NewSuccessorHintMessage (const NewSuccessorHintMessage &other)
virtual ~NewSuccessorHintMessage ()
NewSuccessorHintMessageoperator= (const NewSuccessorHintMessage &other)
virtual NewSuccessorHintMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual NodeHandlegetPreNode ()
virtual const NodeHandlegetPreNode () const
virtual void setPreNode (const NodeHandle &preNode)
- Public Member Functions inherited from ChordMessage
 ChordMessage (const char *name=NULL, int kind=0)
 ChordMessage (const ChordMessage &other)
virtual ~ChordMessage ()
ChordMessageoperator= (const ChordMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
- 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 NewSuccessorHintMessage &)
- Protected Member Functions inherited from ChordMessage
bool operator== (const ChordMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

NodeHandle srcNode_var
NodeHandle preNode_var
- Protected Attributes inherited from ChordMessage
int command_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const NewSuccessorHintMessage &other)

Detailed Description

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

packet NewSuccessorHintMessage extends ChordMessage
{
    NodeHandle srcNode;    
    NodeHandle preNode;    
}

Definition at line 115 of file ChordMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NewSuccessorHintMessage::NewSuccessorHintMessage ( const NewSuccessorHintMessage other)
virtual NewSuccessorHintMessage::~NewSuccessorHintMessage ( )
virtual

Member Function Documentation

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

Reimplemented from ChordMessage.

Definition at line 133 of file ChordMessage_m.h.

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

Definition at line 142 of file ChordMessage_m.h.

Referenced by getPreNode().

{return const_cast<NewSuccessorHintMessage*>(this)->getPreNode();}
virtual NodeHandle& NewSuccessorHintMessage::getSrcNode ( )
virtual
virtual const NodeHandle& NewSuccessorHintMessage::getSrcNode ( ) const
inlinevirtual

Definition at line 139 of file ChordMessage_m.h.

Referenced by getSrcNode().

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

Reimplemented from ChordMessage.

Referenced by doPacking().

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

Reimplemented from ChordMessage.

Referenced by doUnpacking().

virtual void NewSuccessorHintMessage::setPreNode ( const NodeHandle preNode)
virtual
virtual void NewSuccessorHintMessage::setSrcNode ( const NodeHandle srcNode)
virtual

Member Data Documentation

NodeHandle NewSuccessorHintMessage::preNode_var
protected

Definition at line 119 of file ChordMessage_m.h.

NodeHandle NewSuccessorHintMessage::srcNode_var
protected

Definition at line 118 of file ChordMessage_m.h.


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