OverSim
P2pnsRegisterCall Class Reference

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

#include <CommonMessages_m.h>

Inheritance diagram for P2pnsRegisterCall:
BaseCallMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 P2pnsRegisterCall (const char *name=NULL, int kind=0)
 P2pnsRegisterCall (const P2pnsRegisterCall &other)
virtual ~P2pnsRegisterCall ()
P2pnsRegisterCalloperator= (const P2pnsRegisterCall &other)
virtual P2pnsRegisterCalldup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual BinaryValuegetP2pName ()
virtual const BinaryValuegetP2pName () const
virtual void setP2pName (const BinaryValue &p2pName)
virtual uint32_t getKind () const
virtual void setKind (uint32_t kind)
virtual uint32_t getId () const
virtual void setId (uint32_t id)
virtual BinaryValuegetAddress ()
virtual const BinaryValuegetAddress () const
virtual void setAddress (const BinaryValue &address)
virtual int getTtl () const
virtual void setTtl (int ttl)
- 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 P2pnsRegisterCall &)
- 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

BinaryValue p2pName_var
uint32_t kind_var
uint32_t id_var
BinaryValue address_var
int ttl_var

Private Member Functions

void copy (const P2pnsRegisterCall &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet P2pnsRegisterCall extends BaseCallMessage
{
    BinaryValue p2pName; 
    uint32_t kind = 1; 
    uint32_t id = 1;  
    BinaryValue address; 
    int ttl;             
}

Definition at line 1766 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

P2pnsRegisterCall::P2pnsRegisterCall ( const P2pnsRegisterCall other)
virtual P2pnsRegisterCall::~P2pnsRegisterCall ( )
virtual

Member Function Documentation

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

Reimplemented from BaseCallMessage.

Definition at line 1787 of file CommonMessages_m.h.

{return new P2pnsRegisterCall(*this);}
virtual BinaryValue& P2pnsRegisterCall::getAddress ( )
virtual
virtual const BinaryValue& P2pnsRegisterCall::getAddress ( ) const
inlinevirtual

Definition at line 1800 of file CommonMessages_m.h.

Referenced by getAddress().

{return const_cast<P2pnsRegisterCall*>(this)->getAddress();}
virtual uint32_t P2pnsRegisterCall::getId ( ) const
virtual

Referenced by P2pns::p2pnsRegisterRpc().

virtual uint32_t P2pnsRegisterCall::getKind ( ) const
virtual

Referenced by P2pns::p2pnsRegisterRpc().

virtual BinaryValue& P2pnsRegisterCall::getP2pName ( )
virtual
virtual const BinaryValue& P2pnsRegisterCall::getP2pName ( ) const
inlinevirtual

Definition at line 1793 of file CommonMessages_m.h.

Referenced by getP2pName().

{return const_cast<P2pnsRegisterCall*>(this)->getP2pName();}
virtual int P2pnsRegisterCall::getTtl ( ) const
virtual

Referenced by P2pns::p2pnsRegisterRpc().

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

Reimplemented from BaseCallMessage.

Referenced by doPacking().

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

Reimplemented from BaseCallMessage.

Referenced by doUnpacking().

virtual void P2pnsRegisterCall::setAddress ( const BinaryValue address)
virtual
virtual void P2pnsRegisterCall::setId ( uint32_t  id)
virtual
virtual void P2pnsRegisterCall::setKind ( uint32_t  kind)
virtual
virtual void P2pnsRegisterCall::setP2pName ( const BinaryValue p2pName)
virtual
virtual void P2pnsRegisterCall::setTtl ( int  ttl)
virtual

Member Data Documentation

BinaryValue P2pnsRegisterCall::address_var
protected

Definition at line 1772 of file CommonMessages_m.h.

uint32_t P2pnsRegisterCall::id_var
protected

Definition at line 1771 of file CommonMessages_m.h.

uint32_t P2pnsRegisterCall::kind_var
protected

Definition at line 1770 of file CommonMessages_m.h.

BinaryValue P2pnsRegisterCall::p2pName_var
protected

Definition at line 1769 of file CommonMessages_m.h.

int P2pnsRegisterCall::ttl_var
protected

Definition at line 1773 of file CommonMessages_m.h.


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