OverSim
P2pnsResolveResponse Class Reference

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

#include <CommonMessages_m.h>

Inheritance diagram for P2pnsResolveResponse:
BaseResponseMessage BaseRpcMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 P2pnsResolveResponse (const char *name=NULL, int kind=0)
 P2pnsResolveResponse (const P2pnsResolveResponse &other)
virtual ~P2pnsResolveResponse ()
P2pnsResolveResponseoperator= (const P2pnsResolveResponse &other)
virtual P2pnsResolveResponsedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual BinaryValuegetP2pName ()
virtual const BinaryValuegetP2pName () const
virtual void setP2pName (const BinaryValue &p2pName)
virtual void setAddressArraySize (unsigned int size)
virtual unsigned int getAddressArraySize () const
virtual BinaryValuegetAddress (unsigned int k)
virtual const BinaryValuegetAddress (unsigned int k) const
virtual void setAddress (unsigned int k, const BinaryValue &address)
virtual void setKindArraySize (unsigned int size)
virtual unsigned int getKindArraySize () const
virtual uint32_t getKind (unsigned int k) const
virtual void setKind (unsigned int k, uint32_t kind)
virtual void setIdArraySize (unsigned int size)
virtual unsigned int getIdArraySize () const
virtual uint32_t getId (unsigned int k) const
virtual void setId (unsigned int k, uint32_t id)
virtual bool getIsSuccess () const
virtual void setIsSuccess (bool isSuccess)
- 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 P2pnsResolveResponse &)
- 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

BinaryValue p2pName_var
BinaryValueaddress_var
unsigned int address_arraysize
uint32_t * kind_var
unsigned int kind_arraysize
uint32_t * id_var
unsigned int id_arraysize
bool isSuccess_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 P2pnsResolveResponse &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet P2pnsResolveResponse extends BaseResponseMessage
{
    BinaryValue p2pName;  
    BinaryValue address[];  
    uint32_t kind[];
    uint32_t id[];
    bool isSuccess;       
}

Definition at line 1917 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

P2pnsResolveResponse::P2pnsResolveResponse ( const P2pnsResolveResponse other)
virtual P2pnsResolveResponse::~P2pnsResolveResponse ( )
virtual

Member Function Documentation

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

Reimplemented from BaseResponseMessage.

Definition at line 1941 of file CommonMessages_m.h.

{return new P2pnsResolveResponse(*this);}
virtual BinaryValue& P2pnsResolveResponse::getAddress ( unsigned int  k)
virtual
virtual const BinaryValue& P2pnsResolveResponse::getAddress ( unsigned int  k) const
inlinevirtual

Definition at line 1952 of file CommonMessages_m.h.

Referenced by getAddress().

{return const_cast<P2pnsResolveResponse*>(this)->getAddress(k);}
virtual unsigned int P2pnsResolveResponse::getAddressArraySize ( ) const
virtual
virtual uint32_t P2pnsResolveResponse::getId ( unsigned int  k) const
virtual
virtual unsigned int P2pnsResolveResponse::getIdArraySize ( ) const
virtual
virtual bool P2pnsResolveResponse::getIsSuccess ( ) const
virtual
virtual uint32_t P2pnsResolveResponse::getKind ( unsigned int  k) const
virtual
virtual unsigned int P2pnsResolveResponse::getKindArraySize ( ) const
virtual
virtual BinaryValue& P2pnsResolveResponse::getP2pName ( )
virtual
virtual const BinaryValue& P2pnsResolveResponse::getP2pName ( ) const
inlinevirtual

Definition at line 1947 of file CommonMessages_m.h.

Referenced by getP2pName().

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

Reimplemented from BaseResponseMessage.

Referenced by doPacking().

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

Reimplemented from BaseResponseMessage.

Referenced by doUnpacking().

virtual void P2pnsResolveResponse::setAddress ( unsigned int  k,
const BinaryValue address 
)
virtual
virtual void P2pnsResolveResponse::setAddressArraySize ( unsigned int  size)
virtual
virtual void P2pnsResolveResponse::setId ( unsigned int  k,
uint32_t  id 
)
virtual
virtual void P2pnsResolveResponse::setIdArraySize ( unsigned int  size)
virtual
virtual void P2pnsResolveResponse::setIsSuccess ( bool  isSuccess)
virtual
virtual void P2pnsResolveResponse::setKind ( unsigned int  k,
uint32_t  kind 
)
virtual
virtual void P2pnsResolveResponse::setKindArraySize ( unsigned int  size)
virtual
virtual void P2pnsResolveResponse::setP2pName ( const BinaryValue p2pName)
virtual

Member Data Documentation

unsigned int P2pnsResolveResponse::address_arraysize
protected

Definition at line 1922 of file CommonMessages_m.h.

BinaryValue* P2pnsResolveResponse::address_var
protected

Definition at line 1921 of file CommonMessages_m.h.

unsigned int P2pnsResolveResponse::id_arraysize
protected

Definition at line 1926 of file CommonMessages_m.h.

uint32_t* P2pnsResolveResponse::id_var
protected

Definition at line 1925 of file CommonMessages_m.h.

bool P2pnsResolveResponse::isSuccess_var
protected

Definition at line 1927 of file CommonMessages_m.h.

unsigned int P2pnsResolveResponse::kind_arraysize
protected

Definition at line 1924 of file CommonMessages_m.h.

uint32_t* P2pnsResolveResponse::kind_var
protected

Definition at line 1923 of file CommonMessages_m.h.

BinaryValue P2pnsResolveResponse::p2pName_var
protected

Definition at line 1920 of file CommonMessages_m.h.


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