OverSim
DHTPutCall Class Reference

Class generated from applications/dht/DHTMessage.msg by opp_msgc. More...

#include <DHTMessage_m.h>

Inheritance diagram for DHTPutCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 DHTPutCall (const char *name=NULL, int kind=0)
 DHTPutCall (const DHTPutCall &other)
virtual ~DHTPutCall ()
DHTPutCalloperator= (const DHTPutCall &other)
virtual DHTPutCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetKey ()
virtual const OverlayKeygetKey () const
virtual void setKey (const OverlayKey &key)
virtual BinaryValuegetValue ()
virtual const BinaryValuegetValue () const
virtual void setValue (const BinaryValue &value)
virtual uint32_t getKind () const
virtual void setKind (uint32_t kind)
virtual uint32_t getId () const
virtual void setId (uint32_t id)
virtual int getTtl () const
virtual void setTtl (int ttl)
virtual bool getIsModifiable () const
virtual void setIsModifiable (bool isModifiable)
virtual bool getMaintenance () const
virtual void setMaintenance (bool maintenance)
virtual NodeHandlegetOwnerNode ()
virtual const NodeHandlegetOwnerNode () const
virtual void setOwnerNode (const NodeHandle &ownerNode)
- 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 DHTPutCall &)
- 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
BinaryValue value_var
uint32_t kind_var
uint32_t id_var
int ttl_var
bool isModifiable_var
bool maintenance_var
NodeHandle ownerNode_var

Private Member Functions

void copy (const DHTPutCall &other)

Detailed Description

Class generated from applications/dht/DHTMessage.msg by opp_msgc.

packet DHTPutCall extends BaseCallMessage
{
    OverlayKey key;
    BinaryValue value;
    uint32_t kind;
    uint32_t id;
    int ttl;
    bool isModifiable;
    bool maintenance;
    NodeHandle ownerNode;
}

Definition at line 55 of file DHTMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

DHTPutCall::DHTPutCall ( const DHTPutCall other)
virtual DHTPutCall::~DHTPutCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Definition at line 79 of file DHTMessage_m.h.

{return new DHTPutCall(*this);}
virtual uint32_t DHTPutCall::getId ( ) const
virtual
virtual bool DHTPutCall::getIsModifiable ( ) const
virtual
virtual OverlayKey& DHTPutCall::getKey ( )
virtual
virtual const OverlayKey& DHTPutCall::getKey ( ) const
inlinevirtual

Definition at line 85 of file DHTMessage_m.h.

Referenced by getKey().

{return const_cast<DHTPutCall*>(this)->getKey();}
virtual uint32_t DHTPutCall::getKind ( ) const
virtual
virtual bool DHTPutCall::getMaintenance ( ) const
virtual
virtual NodeHandle& DHTPutCall::getOwnerNode ( )
virtual
virtual const NodeHandle& DHTPutCall::getOwnerNode ( ) const
inlinevirtual

Definition at line 101 of file DHTMessage_m.h.

Referenced by getOwnerNode().

{return const_cast<DHTPutCall*>(this)->getOwnerNode();}
virtual int DHTPutCall::getTtl ( ) const
virtual
virtual BinaryValue& DHTPutCall::getValue ( )
virtual
virtual const BinaryValue& DHTPutCall::getValue ( ) const
inlinevirtual

Definition at line 88 of file DHTMessage_m.h.

Referenced by getValue().

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

Reimplemented from BaseCallMessage.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Referenced by doUnpacking().

virtual void DHTPutCall::setIsModifiable ( bool  isModifiable)
virtual
virtual void DHTPutCall::setKind ( uint32_t  kind)
virtual
virtual void DHTPutCall::setMaintenance ( bool  maintenance)
virtual
virtual void DHTPutCall::setOwnerNode ( const NodeHandle ownerNode)
virtual

Member Data Documentation

uint32_t DHTPutCall::id_var
protected

Definition at line 61 of file DHTMessage_m.h.

bool DHTPutCall::isModifiable_var
protected

Definition at line 63 of file DHTMessage_m.h.

OverlayKey DHTPutCall::key_var
protected

Definition at line 58 of file DHTMessage_m.h.

uint32_t DHTPutCall::kind_var
protected

Definition at line 60 of file DHTMessage_m.h.

bool DHTPutCall::maintenance_var
protected

Definition at line 64 of file DHTMessage_m.h.

NodeHandle DHTPutCall::ownerNode_var
protected

Definition at line 65 of file DHTMessage_m.h.

int DHTPutCall::ttl_var
protected

Definition at line 62 of file DHTMessage_m.h.

BinaryValue DHTPutCall::value_var
protected

Definition at line 59 of file DHTMessage_m.h.


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