OverSimMessage_Base Class Reference

#include <OverSimMessage_m.h>

Inheritance diagram for OverSimMessage_Base:

OverSimMessage BaseOverlayMessage BaseAppDataMessage BaseRouteMessage BaseRpcMessage BootstrapLookupMessage ChordMessage GameAPIMessage GiaMessage PastryMessage PubSubBackupIntermediateMessage PubSubBackupSubscriptionMessage PubSubBackupUnsubscribeMessage PubSubFailedNodeMessage PubSubHelpReleaseMessage PubSubMoveListMessage PubSubMoveMessage PubSubNodeLeftMessage PubSubReleaseIntermediateMessage PubSubReplacementMessage PubSubUnsubscriptionMessage QuonPMessage QuonPRMessage VastMessage

List of all members.


Detailed Description

Class generated from common/OverSimMessage.msg by opp_msgc.

 packet OverSimMessage
 {
     (true);
 }
 

OverSimMessage_Base is only useful if it gets subclassed, and OverSimMessage is derived from it. The minimum code to be written for OverSimMessage is the following:

 class OverSimMessage : public OverSimMessage_Base
 {
   public:
     OverSimMessage(const char *name=NULL, int kind=0) : OverSimMessage_Base(name,kind) {}
     OverSimMessage(const OverSimMessage& other) : OverSimMessage_Base(other.getName()) {operator=(other);}
     OverSimMessage& operator=(const OverSimMessage& other) {OverSimMessage_Base::operator=(other); return *this;}
     virtual OverSimMessage *dup() const {return new OverSimMessage(*this);}
     // ADD CODE HERE to redefine and implement pure virtual functions from OverSimMessage_Base
 };
 

The following should go into a .cc (.cpp) file:

 Register_Class(OverSimMessage);
 

Definition at line 48 of file OverSimMessage_m.h.


Public Member Functions

virtual ~OverSimMessage_Base ()
virtual OverSimMessage_Base * dup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)

Protected Member Functions

bool operator== (const OverSimMessage_Base &)
 OverSimMessage_Base (const char *name=NULL, int kind=0)
 OverSimMessage_Base (const OverSimMessage_Base &other)
OverSimMessage_Base & operator= (const OverSimMessage_Base &other)

Constructor & Destructor Documentation

OverSimMessage_Base::OverSimMessage_Base ( const char *  name = NULL,
int  kind = 0 
) [protected]

OverSimMessage_Base::OverSimMessage_Base ( const OverSimMessage_Base &  other  )  [protected]

virtual OverSimMessage_Base::~OverSimMessage_Base (  )  [virtual]


Member Function Documentation

bool OverSimMessage_Base::operator== ( const OverSimMessage_Base &   )  [protected]

OverSimMessage_Base& OverSimMessage_Base::operator= ( const OverSimMessage_Base &  other  )  [protected]

virtual OverSimMessage_Base* OverSimMessage_Base::dup (  )  const [inline, virtual]

Reimplemented in DHTMessageCall, DHTPutCall, DHTGetCall, DHTMessageResponse, DHTPutResponse, DHTGetResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, BaseOverlayMessage, BaseRouteMessage, BaseAppDataMessage, BaseRpcMessage, BaseCallMessage, BaseResponseMessage, RpcTimeoutMessage, FindNodeCall, FindNodeResponse, FailedNodeCall, FailedNodeResponse, PingCall, PingResponse, BootstrapLookupMessage, NextHopCall, NextHopResponse, DHTputCAPICall, DHTgetCAPICall, DHTputCAPIResponse, DHTgetCAPIResponse, DHTdumpCall, DHTdumpResponse, LookupCall, LookupResponse, P2pnsRegisterCall, P2pnsRegisterResponse, P2pnsResolveCall, P2pnsResolveResponse, GameAPIMessage, GameAPIListMessage, GameAPIPositionMessage, GameAPIResizeAOIMessage, GameAPIChatMessage, GameAPISnowMessage, GameAPIFrozenMessage, OverSimMessage, BucketCall, BucketResponse, BroosePingCall, BroosePingResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, PastryMessage, PastryJoinMessage, PastryStateMessage, PastryLeafsetMessage, PastryRoutingRowRequestMessage, PastryRoutingRowMessage, PastryRequestMessage, PubSubJoinCall, PubSubJoinResponse, PubSubResponsibleNodeCall, PubSubResponsibleNodeResponse, PubSubTakeOverSubspaceCall, PubSubTakeOverSubspaceResponse, PubSubSubscriptionCall, PubSubSubscriptionResponse, PubSubUnsubscriptionMessage, PubSubHelpCall, PubSubHelpResponse, PubSubIntermediateCall, PubSubIntermediateResponse, PubSubBackupCall, PubSubBackupResponse, PubSubPingCall, PubSubPingResponse, PubSubReplacementMessage, PubSubFailedNodeMessage, PubSubNodeLeftMessage, PubSubAdoptChildCall, PubSubAdoptChildResponse, PubSubReleaseIntermediateMessage, PubSubHelpReleaseMessage, PubSubBackupSubscriptionMessage, PubSubBackupIntermediateMessage, PubSubBackupUnsubscribeMessage, PubSubMoveMessage, PubSubMoveListMessage, QuonPMessage, QuonPListMessage, QuonPMoveMessage, QuonPEventMessage, QuonPRMessage, QuonPRListMessage, QuonPRMoveMessage, QuonPREventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, P2PNSTestCall, and P2PNSTestResponse.

Definition at line 62 of file OverSimMessage_m.h.

00062 {throw cRuntimeError("You forgot to manually add a dup() function to class OverSimMessage");}

virtual void OverSimMessage_Base::parsimPack ( cCommBuffer *  b  )  [virtual]

Reimplemented in DHTMessageCall, DHTPutCall, DHTGetCall, DHTMessageResponse, DHTPutResponse, DHTGetResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, BaseOverlayMessage, BaseRouteMessage, BaseAppDataMessage, BaseRpcMessage, BaseCallMessage, BaseResponseMessage, RpcTimeoutMessage, FindNodeCall, FindNodeResponse, FailedNodeCall, FailedNodeResponse, PingCall, PingResponse, BootstrapLookupMessage, NextHopCall, NextHopResponse, DHTputCAPICall, DHTgetCAPICall, DHTputCAPIResponse, DHTgetCAPIResponse, DHTdumpCall, DHTdumpResponse, LookupCall, LookupResponse, P2pnsRegisterCall, P2pnsRegisterResponse, P2pnsResolveCall, P2pnsResolveResponse, GameAPIMessage, GameAPIListMessage, GameAPIPositionMessage, GameAPIResizeAOIMessage, GameAPIChatMessage, GameAPISnowMessage, GameAPIFrozenMessage, OverSimMessage, BucketCall, BucketResponse, BroosePingCall, BroosePingResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, PastryMessage, PastryJoinMessage, PastryStateMessage, PastryLeafsetMessage, PastryRoutingRowRequestMessage, PastryRoutingRowMessage, PastryRequestMessage, PubSubJoinCall, PubSubJoinResponse, PubSubResponsibleNodeCall, PubSubResponsibleNodeResponse, PubSubTakeOverSubspaceCall, PubSubTakeOverSubspaceResponse, PubSubSubscriptionCall, PubSubSubscriptionResponse, PubSubUnsubscriptionMessage, PubSubHelpCall, PubSubHelpResponse, PubSubIntermediateCall, PubSubIntermediateResponse, PubSubBackupCall, PubSubBackupResponse, PubSubPingCall, PubSubPingResponse, PubSubReplacementMessage, PubSubFailedNodeMessage, PubSubNodeLeftMessage, PubSubAdoptChildCall, PubSubAdoptChildResponse, PubSubReleaseIntermediateMessage, PubSubHelpReleaseMessage, PubSubBackupSubscriptionMessage, PubSubBackupIntermediateMessage, PubSubBackupUnsubscribeMessage, PubSubMoveMessage, PubSubMoveListMessage, QuonPMessage, QuonPListMessage, QuonPMoveMessage, QuonPEventMessage, QuonPRMessage, QuonPRListMessage, QuonPRMoveMessage, QuonPREventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, P2PNSTestCall, and P2PNSTestResponse.

virtual void OverSimMessage_Base::parsimUnpack ( cCommBuffer *  b  )  [virtual]

Reimplemented in DHTMessageCall, DHTPutCall, DHTGetCall, DHTMessageResponse, DHTPutResponse, DHTGetResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, BaseOverlayMessage, BaseRouteMessage, BaseAppDataMessage, BaseRpcMessage, BaseCallMessage, BaseResponseMessage, RpcTimeoutMessage, FindNodeCall, FindNodeResponse, FailedNodeCall, FailedNodeResponse, PingCall, PingResponse, BootstrapLookupMessage, NextHopCall, NextHopResponse, DHTputCAPICall, DHTgetCAPICall, DHTputCAPIResponse, DHTgetCAPIResponse, DHTdumpCall, DHTdumpResponse, LookupCall, LookupResponse, P2pnsRegisterCall, P2pnsRegisterResponse, P2pnsResolveCall, P2pnsResolveResponse, GameAPIMessage, GameAPIListMessage, GameAPIPositionMessage, GameAPIResizeAOIMessage, GameAPIChatMessage, GameAPISnowMessage, GameAPIFrozenMessage, OverSimMessage, BucketCall, BucketResponse, BroosePingCall, BroosePingResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, PastryMessage, PastryJoinMessage, PastryStateMessage, PastryLeafsetMessage, PastryRoutingRowRequestMessage, PastryRoutingRowMessage, PastryRequestMessage, PubSubJoinCall, PubSubJoinResponse, PubSubResponsibleNodeCall, PubSubResponsibleNodeResponse, PubSubTakeOverSubspaceCall, PubSubTakeOverSubspaceResponse, PubSubSubscriptionCall, PubSubSubscriptionResponse, PubSubUnsubscriptionMessage, PubSubHelpCall, PubSubHelpResponse, PubSubIntermediateCall, PubSubIntermediateResponse, PubSubBackupCall, PubSubBackupResponse, PubSubPingCall, PubSubPingResponse, PubSubReplacementMessage, PubSubFailedNodeMessage, PubSubNodeLeftMessage, PubSubAdoptChildCall, PubSubAdoptChildResponse, PubSubReleaseIntermediateMessage, PubSubHelpReleaseMessage, PubSubBackupSubscriptionMessage, PubSubBackupIntermediateMessage, PubSubBackupUnsubscribeMessage, PubSubMoveMessage, PubSubMoveListMessage, QuonPMessage, QuonPListMessage, QuonPMoveMessage, QuonPEventMessage, QuonPRMessage, QuonPRListMessage, QuonPRMoveMessage, QuonPREventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, P2PNSTestCall, and P2PNSTestResponse.


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

Generated on Fri Mar 20 18:40:31 2009 for OverSim by  doxygen 1.5.5