OverSim
BaseRpcMessage Class Reference

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

#include <CommonMessages_m.h>

Inheritance diagram for BaseRpcMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base BaseCallMessage BaseResponseMessage RpcTimeoutMessage BucketCall CapReqCall ChildCheckCall ChildReleaseCall CoordsOfNodeCall CoordsReqCall DeBruijnCall DHTdumpCall DHTGetCall DHTgetCAPICall DHTPutCall DHTputCAPICall DiscoveryCall FailedNodeCall FindNodeCall FixfingersCall JoinCall KbrTestCall LookupCall MyNeighborCall NextHopCall NotifyCall NTreeDivideCall NTreeJoinCall NTreePingCall P2pnsRegisterCall P2pnsResolveCall ParentRequestCall PastryJoinCall PingCall PubSubAdoptChildCall PubSubBackupCall PubSubHelpCall PubSubIntermediateCall PubSubJoinCall PubSubPingCall PubSubResponsibleNodeCall PubSubSubscriptionCall PubSubTakeOverSubspaceCall RequestLeafSetCall RequestRepairCall RequestRoutingRowCall RequestStateCall RttToNodeCall ScribeJoinCall ScribePublishCall StabilizeCall TreeAppCall UnderlayTestCall BucketResponse CapReqResponse ChildCheckResponse ChildReleaseResponse CoordsOfNodeResponse CoordsReqResponse DeBruijnResponse DHTdumpResponse DHTgetCAPIResponse DHTGetResponse DHTputCAPIResponse DHTPutResponse DiscoveryResponse FailedNodeResponse FindNodeResponse FixfingersResponse JoinResponse KbrTestResponse LookupResponse MyNeighborResponse NextHopResponse NotifyResponse NTreeDivideResponse NTreeJoinResponse NTreePingResponse P2pnsRegisterResponse P2pnsResolveResponse ParentRequestResponse PastryJoinResponse PingResponse PubSubAdoptChildResponse PubSubBackupResponse PubSubHelpResponse PubSubIntermediateResponse PubSubJoinResponse PubSubPingResponse PubSubResponsibleNodeResponse PubSubSubscriptionResponse PubSubTakeOverSubspaceResponse RequestLeafSetResponse RequestRepairResponse RequestRoutingRowResponse RequestStateResponse RttToNodeResponse ScribeJoinResponse ScribePublishResponse StabilizeResponse TreeAppResponse UnderlayTestResponse

Public Member Functions

 BaseRpcMessage (const char *name=NULL, int kind=0)
 BaseRpcMessage (const BaseRpcMessage &other)
virtual ~BaseRpcMessage ()
BaseRpcMessageoperator= (const BaseRpcMessage &other)
virtual BaseRpcMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
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 BaseRpcMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

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 BaseRpcMessage &other)

Detailed Description

Class generated from common/CommonMessages.msg by opp_msgc.

packet BaseRpcMessage extends BaseOverlayMessage
{
    unsigned int nonce;  
    NodeHandle srcNode;  
    AuthBlock authBlock[] (uint8_t); 
}

Definition at line 474 of file CommonMessages_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

BaseRpcMessage::BaseRpcMessage ( const BaseRpcMessage other)
virtual BaseRpcMessage::~BaseRpcMessage ( )
virtual

Member Function Documentation

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

Reimplemented from BaseOverlayMessage.

Reimplemented in P2pnsResolveResponse, P2pnsResolveCall, P2pnsRegisterResponse, P2pnsRegisterCall, LookupResponse, LookupCall, DHTdumpResponse, DHTdumpCall, DHTgetCAPIResponse, DHTputCAPIResponse, DHTgetCAPICall, DHTputCAPICall, PubSubAdoptChildResponse, PubSubAdoptChildCall, NextHopResponse, NextHopCall, PingResponse, PubSubPingResponse, PingCall, PubSubPingCall, FailedNodeResponse, PubSubBackupResponse, FailedNodeCall, CapReqResponse, PubSubBackupCall, FindNodeResponse, CapReqCall, PubSubIntermediateResponse, AreaDataCall, FindNodeCall, PubSubIntermediateCall, SimpleCoordStrategyCall, RequestRoutingRowResponse, RpcTimeoutMessage, DeBruijnResponse, PubSubHelpResponse, RegionsStrategyCall, RequestRoutingRowCall, BaseResponseMessage, DeBruijnCall, RequestLeafSetResponse, TreeTestStrategyCall, PubSubHelpCall, BaseCallMessage, RequestLeafSetCall, RemoveRandomStrategyCall, RequestRepairResponse, SendAllStrategyCall, FixfingersResponse, PubSubSubscriptionResponse, RequestRepairCall, SendCoordinatesCall, FixfingersCall, PubSubSubscriptionCall, RequestStateResponse, ChildCheckResponse, StabilizeResponse, PubSubTakeOverSubspaceResponse, RequestStateCall, NTreeNodePingResponse, ChildCheckCall, StabilizeCall, PubSubTakeOverSubspaceCall, PastryJoinResponse, NTreePingResponse, ChildReleaseResponse, PastryJoinCall, JoinResponse, PubSubResponsibleNodeResponse, NTreeNodePingCall, ChildReleaseCall, JoinCall, PubSubResponsibleNodeCall, GlobalViewBuilderResponse, NTreePingCall, DHTGetResponse, PubSubJoinResponse, GlobalViewBuilderCall, NotifyResponse, UnderlayTestResponse, ScribePublishResponse, NTreeDivideResponse, TreeAppResponse, PubSubJoinCall, DHTPutResponse, NotifyCall, UnderlayTestCall, RttToNodeResponse, ScribePublishCall, NTreeDivideCall, TreeAppCall, BucketResponse, DHTGetCall, KbrTestResponse, CoordsOfNodeResponse, ScribeJoinResponse, ParentRequestResponse, ProxFindNodeResponse, NTreeJoinResponse, DiscoveryResponse, BucketCall, KbrTestCall, MyNeighborResponse, CoordsReqResponse, CBRDHTGetResponse, RttToNodeCall, ScribeJoinCall, ParentRequestCall, DHTPutCall, ProxFindNodeCall, NTreeJoinCall, DiscoveryCall, CoordsOfNodeCall, CoordsReqCall, MyNeighborCall, and CBRDHTGetCall.

Definition at line 494 of file CommonMessages_m.h.

Referenced by CryptoModule::signMessage(), and CryptoModule::verifyMessage().

{return new BaseRpcMessage(*this);}
virtual AuthBlock& BaseRpcMessage::getAuthBlock ( uint8_t  k)
virtual
virtual const AuthBlock& BaseRpcMessage::getAuthBlock ( uint8_t  k) const
inlinevirtual

Definition at line 507 of file CommonMessages_m.h.

Referenced by getAuthBlock().

{return const_cast<BaseRpcMessage*>(this)->getAuthBlock(k);}
virtual uint8_t BaseRpcMessage::getAuthBlockArraySize ( ) const
virtual
virtual NodeHandle& BaseRpcMessage::getSrcNode ( )
virtual

Referenced by BaseOverlay::checkFindNode(), Nps::coordsReqRpcResponse(), BasePastry::createLookup(), Scribe::forward(), PubSubMMOG::handleAdoptChildResponse(), PubSubMMOG::handleBackupCall(), Broose::handleBucketRequestRpc(), TreeManagement::handleChildCheckRpcCall(), TreeManagement::handleChildCheckRpcResponse(), TreeManagement::handleChildReleaseRpcCall(), StrategySimplifyCoords::handleCoordinateRpcCall(), StrategyRegions::handleCoordinateRpcCall(), StrategySendAll::handleCoordinateRpcCall(), StrategyTreeTest::handleCoordinateRpcCall(), GlobalViewBuilder::handleCoordinateRpcCall(), NTree::handleDivideCall(), NTree::handleDivideResponse(), DHT::handleGetResponse(), PubSubLobby::handleHelpCall(), PubSubMMOG::handleIntermediateCall(), PubSubMMOG::handleIntermediateResponse(), PubSubLobby::handleJoin(), NTree::handleJoinCall(), Scribe::handleJoinMessage(), NTree::handleJoinResponse(), Scribe::handleJoinResponse(), TreeManagement::handleParentRequestRpcCall(), TreeManagement::handleParentRequestRpcResponse(), Pastry::handlePastryJoinCall(), Scribe::handlePublishResponse(), CBRDHT::handlePutRequest(), DHT::handlePutRequest(), IterativePathLookup::handleResponse(), Broose::handleRpcCall(), oversim::Chord::handleRpcJoinResponse(), oversim::Chord::handleRpcNotifyResponse(), DiscoveryMode::handleRpcResponse(), KBRTestApp::handleRpcResponse(), Kademlia::handleRpcResponse(), Broose::handleRpcResponse(), IterativeLookup::handleRpcResponse(), oversim::Chord::handleRpcStabilizeResponse(), PubSubMMOG::handleSubscriptionCall(), PubSubLobby::handleTakeOverResponse(), BaseRpc::internalHandleRpcMessage(), BaseOverlay::internalSendRpcResponse(), Pastry::pingResponse(), BootstrapList::pingResponse(), Broose::pingResponse(), oversim::Chord::pingResponse(), Pastry::recursiveRoutingHook(), oversim::Chord::rpcJoin(), oversim::Chord::rpcNotify(), oversim::Chord::rpcStabilize(), BaseRpc::sendRpcResponse(), and oversim::ChordSuccessorList::updateList().

virtual const NodeHandle& BaseRpcMessage::getSrcNode ( ) const
inlinevirtual

Definition at line 502 of file CommonMessages_m.h.

Referenced by getSrcNode().

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

Reimplemented from BaseOverlayMessage.

Reimplemented in P2pnsResolveResponse, P2pnsResolveCall, P2pnsRegisterResponse, P2pnsRegisterCall, LookupResponse, LookupCall, DHTdumpResponse, DHTdumpCall, DHTgetCAPIResponse, DHTputCAPIResponse, DHTgetCAPICall, DHTputCAPICall, PubSubAdoptChildResponse, PubSubAdoptChildCall, NextHopResponse, NextHopCall, PingResponse, PubSubPingResponse, PingCall, PubSubPingCall, FailedNodeResponse, PubSubBackupResponse, FailedNodeCall, CapReqResponse, PubSubBackupCall, FindNodeResponse, CapReqCall, PubSubIntermediateResponse, AreaDataCall, FindNodeCall, PubSubIntermediateCall, SimpleCoordStrategyCall, RequestRoutingRowResponse, RpcTimeoutMessage, DeBruijnResponse, PubSubHelpResponse, RegionsStrategyCall, RequestRoutingRowCall, BaseResponseMessage, DeBruijnCall, RequestLeafSetResponse, TreeTestStrategyCall, PubSubHelpCall, BaseCallMessage, RequestLeafSetCall, RemoveRandomStrategyCall, RequestRepairResponse, SendAllStrategyCall, FixfingersResponse, PubSubSubscriptionResponse, RequestRepairCall, SendCoordinatesCall, FixfingersCall, PubSubSubscriptionCall, RequestStateResponse, ChildCheckResponse, StabilizeResponse, PubSubTakeOverSubspaceResponse, RequestStateCall, NTreeNodePingResponse, ChildCheckCall, StabilizeCall, PubSubTakeOverSubspaceCall, PastryJoinResponse, NTreePingResponse, ChildReleaseResponse, PastryJoinCall, JoinResponse, PubSubResponsibleNodeResponse, NTreeNodePingCall, ChildReleaseCall, JoinCall, PubSubResponsibleNodeCall, GlobalViewBuilderResponse, NTreePingCall, DHTGetResponse, PubSubJoinResponse, GlobalViewBuilderCall, NotifyResponse, UnderlayTestResponse, ScribePublishResponse, NTreeDivideResponse, TreeAppResponse, PubSubJoinCall, DHTPutResponse, NotifyCall, UnderlayTestCall, RttToNodeResponse, ScribePublishCall, NTreeDivideCall, TreeAppCall, BucketResponse, DHTGetCall, KbrTestResponse, CoordsOfNodeResponse, ScribeJoinResponse, ParentRequestResponse, ProxFindNodeResponse, NTreeJoinResponse, DiscoveryResponse, BucketCall, KbrTestCall, MyNeighborResponse, CoordsReqResponse, CBRDHTGetResponse, RttToNodeCall, ScribeJoinCall, ParentRequestCall, DHTPutCall, ProxFindNodeCall, NTreeJoinCall, DiscoveryCall, CoordsOfNodeCall, CoordsReqCall, MyNeighborCall, and CBRDHTGetCall.

Referenced by doPacking().

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

Reimplemented from BaseOverlayMessage.

Reimplemented in P2pnsResolveResponse, P2pnsResolveCall, P2pnsRegisterResponse, P2pnsRegisterCall, LookupResponse, LookupCall, DHTdumpResponse, DHTdumpCall, DHTgetCAPIResponse, DHTputCAPIResponse, DHTgetCAPICall, DHTputCAPICall, PubSubAdoptChildResponse, PubSubAdoptChildCall, NextHopResponse, NextHopCall, PingResponse, PubSubPingResponse, PingCall, PubSubPingCall, FailedNodeResponse, PubSubBackupResponse, FailedNodeCall, CapReqResponse, PubSubBackupCall, FindNodeResponse, CapReqCall, PubSubIntermediateResponse, AreaDataCall, FindNodeCall, PubSubIntermediateCall, SimpleCoordStrategyCall, RequestRoutingRowResponse, RpcTimeoutMessage, DeBruijnResponse, PubSubHelpResponse, RegionsStrategyCall, RequestRoutingRowCall, BaseResponseMessage, DeBruijnCall, RequestLeafSetResponse, TreeTestStrategyCall, PubSubHelpCall, BaseCallMessage, RequestLeafSetCall, RemoveRandomStrategyCall, RequestRepairResponse, SendAllStrategyCall, FixfingersResponse, PubSubSubscriptionResponse, RequestRepairCall, SendCoordinatesCall, FixfingersCall, PubSubSubscriptionCall, RequestStateResponse, ChildCheckResponse, StabilizeResponse, PubSubTakeOverSubspaceResponse, RequestStateCall, NTreeNodePingResponse, ChildCheckCall, StabilizeCall, PubSubTakeOverSubspaceCall, PastryJoinResponse, NTreePingResponse, ChildReleaseResponse, PastryJoinCall, JoinResponse, PubSubResponsibleNodeResponse, NTreeNodePingCall, ChildReleaseCall, JoinCall, PubSubResponsibleNodeCall, GlobalViewBuilderResponse, NTreePingCall, DHTGetResponse, PubSubJoinResponse, GlobalViewBuilderCall, NotifyResponse, UnderlayTestResponse, ScribePublishResponse, NTreeDivideResponse, TreeAppResponse, PubSubJoinCall, DHTPutResponse, NotifyCall, UnderlayTestCall, RttToNodeResponse, ScribePublishCall, NTreeDivideCall, TreeAppCall, BucketResponse, DHTGetCall, KbrTestResponse, CoordsOfNodeResponse, ScribeJoinResponse, ParentRequestResponse, ProxFindNodeResponse, NTreeJoinResponse, DiscoveryResponse, BucketCall, KbrTestCall, MyNeighborResponse, CoordsReqResponse, CBRDHTGetResponse, RttToNodeCall, ScribeJoinCall, ParentRequestCall, DHTPutCall, ProxFindNodeCall, NTreeJoinCall, DiscoveryCall, CoordsOfNodeCall, CoordsReqCall, MyNeighborCall, and CBRDHTGetCall.

Referenced by doUnpacking().

virtual void BaseRpcMessage::setAuthBlock ( uint8_t  k,
const AuthBlock authBlock 
)
virtual
virtual void BaseRpcMessage::setAuthBlockArraySize ( uint8_t  size)
virtual
virtual void BaseRpcMessage::setNonce ( unsigned int  nonce)
virtual
virtual void BaseRpcMessage::setSrcNode ( const NodeHandle srcNode)
virtual

Member Data Documentation

uint8_t BaseRpcMessage::authBlock_arraysize
protected

Definition at line 480 of file CommonMessages_m.h.

AuthBlock* BaseRpcMessage::authBlock_var
protected

Definition at line 479 of file CommonMessages_m.h.

unsigned int BaseRpcMessage::nonce_var
protected

Definition at line 477 of file CommonMessages_m.h.

NodeHandle BaseRpcMessage::srcNode_var
protected

Definition at line 478 of file CommonMessages_m.h.


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