Public Member Functions | Protected Member Functions

OverSimMessage_Base Class Reference

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

#include <OverSimMessage_m.h>

Inheritance diagram for OverSimMessage_Base:
OverSimMessage BaseOverlayMessage P2pnsTunnelMessage BaseAppDataMessage BaseRouteMessage BaseRpcMessage BootstrapLookupMessage ChordMessage GameAPIMessage GiaMessage KademliaRoutingInfoMessage NiceMessage NTreeCollapseMessage NTreeGroupAddMessage NTreeGroupDeleteMessage NTreeLeaveMessage NTreeMoveMessage NTreeReplaceNodeMessage NTreeTakeOverMessage PastryMessage PubSubBackupIntermediateMessage PubSubBackupSubscriptionMessage PubSubBackupUnsubscribeMessage PubSubFailedNodeMessage PubSubHelpReleaseMessage PubSubMoveListMessage PubSubMoveMessage PubSubNodeLeftMessage PubSubReleaseIntermediateMessage PubSubReplacementMessage PubSubUnsubscriptionMessage QuonMessage VastMessage

List of all members.

Public Member Functions

virtual ~OverSimMessage_Base ()
virtual OverSimMessage_Basedup () 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_Baseoperator= (const OverSimMessage_Base &other)

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 54 of file OverSimMessage_m.h.


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

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

Reimplemented in DHTPutCall, DHTGetCall, DHTPutResponse, DHTGetResponse, KbrTestCall, KbrTestResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, CBRDHTGetCall, CBRDHTGetResponse, CoordsOfNodeCall, RttToNodeCall, CoordsOfNodeResponse, RttToNodeResponse, 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, CoordsReqCall, CoordsReqResponse, OverSimMessage, BucketCall, BucketResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, KademliaRoutingInfoMessage, MyNeighborCall, MyNeighborResponse, NiceMessage, NiceMemberMessage, NiceClusterMerge, NiceHeartbeat, NiceLeaderHeartbeat, NiceMulticastMessage, NTreeJoinCall, NTreeJoinResponse, NTreeDivideCall, NTreeDivideResponse, NTreePingCall, NTreeNodePingCall, NTreePingResponse, NTreeNodePingResponse, NTreeGroupDeleteMessage, NTreeCollapseMessage, NTreeLeaveMessage, NTreeMoveMessage, NTreeGroupAddMessage, NTreeReplaceNodeMessage, NTreeTakeOverMessage, 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, QuonMessage, QuonListMessage, QuonMoveMessage, QuonEventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, and P2pnsTunnelMessage.

Definition at line 68 of file OverSimMessage_m.h.

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

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

Reimplemented in DHTPutCall, DHTGetCall, DHTPutResponse, DHTGetResponse, KbrTestCall, KbrTestResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, CBRDHTGetCall, CBRDHTGetResponse, CoordsOfNodeCall, RttToNodeCall, CoordsOfNodeResponse, RttToNodeResponse, 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, CoordsReqCall, CoordsReqResponse, OverSimMessage, BucketCall, BucketResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, KademliaRoutingInfoMessage, MyNeighborCall, MyNeighborResponse, NiceMessage, NiceMemberMessage, NiceClusterMerge, NiceHeartbeat, NiceLeaderHeartbeat, NiceMulticastMessage, NTreeJoinCall, NTreeJoinResponse, NTreeDivideCall, NTreeDivideResponse, NTreePingCall, NTreeNodePingCall, NTreePingResponse, NTreeNodePingResponse, NTreeGroupDeleteMessage, NTreeCollapseMessage, NTreeLeaveMessage, NTreeMoveMessage, NTreeGroupAddMessage, NTreeReplaceNodeMessage, NTreeTakeOverMessage, 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, QuonMessage, QuonListMessage, QuonMoveMessage, QuonEventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, and P2pnsTunnelMessage.

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

Reimplemented in DHTPutCall, DHTGetCall, DHTPutResponse, DHTGetResponse, KbrTestCall, KbrTestResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, CBRDHTGetCall, CBRDHTGetResponse, CoordsOfNodeCall, RttToNodeCall, CoordsOfNodeResponse, RttToNodeResponse, 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, CoordsReqCall, CoordsReqResponse, OverSimMessage, BucketCall, BucketResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, KademliaRoutingInfoMessage, MyNeighborCall, MyNeighborResponse, NiceMessage, NiceMemberMessage, NiceClusterMerge, NiceHeartbeat, NiceLeaderHeartbeat, NiceMulticastMessage, NTreeJoinCall, NTreeJoinResponse, NTreeDivideCall, NTreeDivideResponse, NTreePingCall, NTreeNodePingCall, NTreePingResponse, NTreeNodePingResponse, NTreeGroupDeleteMessage, NTreeCollapseMessage, NTreeLeaveMessage, NTreeMoveMessage, NTreeGroupAddMessage, NTreeReplaceNodeMessage, NTreeTakeOverMessage, 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, QuonMessage, QuonListMessage, QuonMoveMessage, QuonEventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, and P2pnsTunnelMessage.


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