OverSim
LookupCall Class Reference

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

#include <CommonMessages_m.h>

Inheritance diagram for LookupCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 LookupCall (const char *name=NULL, int kind=0)
 LookupCall (const LookupCall &other)
virtual ~LookupCall ()
LookupCalloperator= (const LookupCall &other)
virtual LookupCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetKey ()
virtual const OverlayKeygetKey () const
virtual void setKey (const OverlayKey &key)
virtual int getNumSiblings () const
virtual void setNumSiblings (int numSiblings)
virtual int getRoutingType () const
virtual void setRoutingType (int routingType)
- 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 LookupCall &)
- 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 key_var
int numSiblings_var
int routingType_var

Private Member Functions

void copy (const LookupCall &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet LookupCall extends BaseCallMessage
{
    OverlayKey key;
    int numSiblings;
    int routingType enum(RoutingType) = DEFAULT_ROUTING;
}

Definition at line 1662 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

LookupCall::LookupCall ( const LookupCall other)
virtual LookupCall::~LookupCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Definition at line 1681 of file CommonMessages_m.h.

{return new LookupCall(*this);}
virtual OverlayKey& LookupCall::getKey ( )
virtual
virtual const OverlayKey& LookupCall::getKey ( ) const
inlinevirtual

Definition at line 1687 of file CommonMessages_m.h.

Referenced by getKey().

{return const_cast<LookupCall*>(this)->getKey();}
virtual int LookupCall::getNumSiblings ( ) const
virtual

Referenced by BaseOverlay::lookupRpc().

virtual int LookupCall::getRoutingType ( ) const
virtual

Referenced by BaseOverlay::lookupRpc().

LookupCall& LookupCall::operator= ( const LookupCall other)
bool LookupCall::operator== ( const LookupCall )
protected
virtual void LookupCall::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from BaseCallMessage.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Referenced by doUnpacking().

virtual void LookupCall::setRoutingType ( int  routingType)
virtual

Member Data Documentation

OverlayKey LookupCall::key_var
protected

Definition at line 1665 of file CommonMessages_m.h.

int LookupCall::numSiblings_var
protected

Definition at line 1666 of file CommonMessages_m.h.

int LookupCall::routingType_var
protected

Definition at line 1667 of file CommonMessages_m.h.


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