OverSim
CommonMessages_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.2 from common/CommonMessages.msg.
3 //
4 
5 #ifndef _COMMONMESSAGES_M_H_
6 #define _COMMONMESSAGES_M_H_
7 
8 #include <omnetpp.h>
9 
10 // opp_msgc version check
11 #define MSGC_VERSION 0x0402
12 #if (MSGC_VERSION!=OMNETPP_VERSION)
13 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
14 #endif
15 
16 // cplusplus {{
17 #include <OverlayKey.h>
18 #include <NodeHandle.h>
19 #include <IPvXAddress.h>
20 #include <TransportAddress.h>
21 #include <BinaryValue.h>
22 #include <Vector2D.h>
23 #include <OverSimMessage.h>
24 
25 #define KEY_L OverlayKey::getLength()
26 
27 static const int TYPE_L = 8;
28 static const int IPADDR_L = 32;
29 static const int UDPPORT_L = 16;
30 static const int HOPCOUNT_L = 16;
31 static const int NONCE_L = 32;
32 static const int COMP_L = 16;
33 static const int NUMSIBLINGS_L = 8;
34 static const int NUMREDNODES_L = 8;
35 static const int EXHAUSTIVEFLAG_L = 8;
36 static const int NEIGHBORSFLAG_L = 8;
37 static const int RESPONSEFLAG_L = 8;
38 static const int TRYAGAINFLAG_L = 8;
39 static const int TIER_L = 8;
40 static const int ARRAYSIZE_L = 8;
41 static const int ROUTINGTYPE_L = 8;
42 static const int SIGNATURE_L = 40*8;
43 static const int CERT_L = 40*8;
44 static const int PUBKEY_L = 20*8;
45 static const int NCSINFO_L = 32;
46 
47 #define NODEHANDLE_L (IPADDR_L + UDPPORT_L + KEY_L)
48 
49 
50 #define TRANSPORTADDRESS_L (IPADDR_L + UDPPORT_L)
51 
52 #define AUTHBLOCK_L (overlay->getMeasureAuthBlock() ? (SIGNATURE_L + CERT_L + PUBKEY_L) : 0)
53 
54 #define BASEOVERLAY_L(msg) TYPE_L
55 #define BASEROUTE_L(msg) (BASEOVERLAY_L(msg) + NODEHANDLE_L + KEY_L + \
56  HOPCOUNT_L + ROUTINGTYPE_L +\
57  ARRAYSIZE_L + (msg->getVisitedHopsArraySize() *\
58  TRANSPORTADDRESS_L) +\
59  ARRAYSIZE_L + (msg->getNextHopsArraySize() *\
60  TRANSPORTADDRESS_L) +\
61  ARRAYSIZE_L)
62 #define BASEAPPDATA_L(msg) (BASEOVERLAY_L(msg) + 2*COMP_L)
63 #define BASERPC_L(msg) (BASEOVERLAY_L(msg) + NONCE_L + NODEHANDLE_L + \
64  TIER_L)
65 #define BASECALL_L(msg) BASERPC_L(msg)
66 
67 #define BASERESPONSE_L(msg) (BASERPC_L(msg) + AUTHBLOCK_L + \
68  ((msg->getNcsInfoArraySize()) ? \
69  (msg->getNcsInfoArraySize() * NCSINFO_L + 8) : \
70  0))
71 #define FINDNODECALL_L(msg) (BASECALL_L(msg) + KEY_L + NUMSIBLINGS_L + \
72  NUMREDNODES_L + EXHAUSTIVEFLAG_L)
73 
74 #define FINDNODERESPONSE_L(msg) (BASERESPONSE_L(msg) + NEIGHBORSFLAG_L + \
75  (msg->getClosestNodesArraySize() * NODEHANDLE_L))
76 #define FAILEDNODECALL_L(msg) (BASECALL_L(msg) + IPADDR_L + UDPPORT_L)
77 #define FAILEDNODERESPONSE_L(msg) (BASERESPONSE_L(msg) + TRYAGAINFLAG_L)
78 #define PINGCALL_L(msg) BASECALL_L(msg)
79 #define PINGRESPONSE_L(msg) BASERESPONSE_L(msg)
80 #define BOOTSTRAPPINGCALL_L(msg) BASECALL_L(msg)
81 #define BOOTSTRAPPINGRESPONSE_L(msg) BASERESPONSE_L(msg)
82 #define NEXTHOPCALL_L(msg) BASECALL_L(msg)
83 #define NEXTHOPRESPONSE_L(msg) BASERESPONSE_L(msg)
84 // }}
85 
86 
87 
103  RPC = 1,
104  APPDATA = 2,
106 };
107 
124 enum CompType {
132 };
133 
160 };
161 
180 };
181 
204 };
205 
219 enum StatType {
223 };
224 
249 };
250 
262 class AuthBlock : public ::cObject
263 {
264  protected:
268 
269  private:
270  void copy(const AuthBlock& other);
271 
272  protected:
273  // protected and unimplemented operator==(), to prevent accidental usage
274  bool operator==(const AuthBlock&);
275 
276  public:
277  AuthBlock();
278  AuthBlock(const AuthBlock& other);
279  virtual ~AuthBlock();
280  AuthBlock& operator=(const AuthBlock& other);
281  virtual AuthBlock *dup() const {return new AuthBlock(*this);}
282  virtual void parsimPack(cCommBuffer *b);
283  virtual void parsimUnpack(cCommBuffer *b);
284 
285  // field getter/setter methods
286  virtual BinaryValue& getSignature();
287  virtual const BinaryValue& getSignature() const {return const_cast<AuthBlock*>(this)->getSignature();}
288  virtual void setSignature(const BinaryValue& signature);
289  virtual BinaryValue& getPubKey();
290  virtual const BinaryValue& getPubKey() const {return const_cast<AuthBlock*>(this)->getPubKey();}
291  virtual void setPubKey(const BinaryValue& pubKey);
292  virtual BinaryValue& getCert();
293  virtual const BinaryValue& getCert() const {return const_cast<AuthBlock*>(this)->getCert();}
294  virtual void setCert(const BinaryValue& cert);
295 };
296 
297 inline void doPacking(cCommBuffer *b, AuthBlock& obj) {obj.parsimPack(b);}
298 inline void doUnpacking(cCommBuffer *b, AuthBlock& obj) {obj.parsimUnpack(b);}
299 
311 {
312  protected:
313  int type_var;
315 
316  private:
317  void copy(const BaseOverlayMessage& other);
318 
319  protected:
320  // protected and unimplemented operator==(), to prevent accidental usage
321  bool operator==(const BaseOverlayMessage&);
322 
323  public:
324  BaseOverlayMessage(const char *name=NULL, int kind=0);
326  virtual ~BaseOverlayMessage();
328  virtual BaseOverlayMessage *dup() const {return new BaseOverlayMessage(*this);}
329  virtual void parsimPack(cCommBuffer *b);
330  virtual void parsimUnpack(cCommBuffer *b);
331 
332  // field getter/setter methods
333  virtual int getType() const;
334  virtual void setType(int type);
335  virtual int getStatType() const;
336  virtual void setStatType(int statType);
337 };
338 
339 inline void doPacking(cCommBuffer *b, BaseOverlayMessage& obj) {obj.parsimPack(b);}
340 inline void doUnpacking(cCommBuffer *b, BaseOverlayMessage& obj) {obj.parsimUnpack(b);}
341 
359 {
360  protected:
366  unsigned int visitedHops_arraysize;
368  unsigned int nextHops_arraysize;
369  simtime_t hopStamp_var;
370  simtime_t *hopDelay_var; // array ptr
371  unsigned int hopDelay_arraysize;
372 
373  private:
374  void copy(const BaseRouteMessage& other);
375 
376  protected:
377  // protected and unimplemented operator==(), to prevent accidental usage
378  bool operator==(const BaseRouteMessage&);
379 
380  public:
381  BaseRouteMessage(const char *name=NULL, int kind=0);
382  BaseRouteMessage(const BaseRouteMessage& other);
383  virtual ~BaseRouteMessage();
385  virtual BaseRouteMessage *dup() const {return new BaseRouteMessage(*this);}
386  virtual void parsimPack(cCommBuffer *b);
387  virtual void parsimUnpack(cCommBuffer *b);
388 
389  // field getter/setter methods
390  virtual OverlayKey& getDestKey();
391  virtual const OverlayKey& getDestKey() const {return const_cast<BaseRouteMessage*>(this)->getDestKey();}
392  virtual void setDestKey(const OverlayKey& destKey);
393  virtual NodeHandle& getSrcNode();
394  virtual const NodeHandle& getSrcNode() const {return const_cast<BaseRouteMessage*>(this)->getSrcNode();}
395  virtual void setSrcNode(const NodeHandle& srcNode);
396  virtual int getRoutingType() const;
397  virtual void setRoutingType(int routingType);
398  virtual int getHopCount() const;
399  virtual void setHopCount(int hopCount);
400  virtual void setVisitedHopsArraySize(unsigned int size);
401  virtual unsigned int getVisitedHopsArraySize() const;
402  virtual TransportAddress& getVisitedHops(unsigned int k);
403  virtual const TransportAddress& getVisitedHops(unsigned int k) const {return const_cast<BaseRouteMessage*>(this)->getVisitedHops(k);}
404  virtual void setVisitedHops(unsigned int k, const TransportAddress& visitedHops);
405  virtual void setNextHopsArraySize(unsigned int size);
406  virtual unsigned int getNextHopsArraySize() const;
407  virtual TransportAddress& getNextHops(unsigned int k);
408  virtual const TransportAddress& getNextHops(unsigned int k) const {return const_cast<BaseRouteMessage*>(this)->getNextHops(k);}
409  virtual void setNextHops(unsigned int k, const TransportAddress& nextHops);
410  virtual simtime_t getHopStamp() const;
411  virtual void setHopStamp(simtime_t hopStamp);
412  virtual void setHopDelayArraySize(unsigned int size);
413  virtual unsigned int getHopDelayArraySize() const;
414  virtual simtime_t getHopDelay(unsigned int k) const;
415  virtual void setHopDelay(unsigned int k, simtime_t hopDelay);
416 };
417 
418 inline void doPacking(cCommBuffer *b, BaseRouteMessage& obj) {obj.parsimPack(b);}
419 inline void doUnpacking(cCommBuffer *b, BaseRouteMessage& obj) {obj.parsimUnpack(b);}
420 
432 {
433  protected:
436 
437  private:
438  void copy(const BaseAppDataMessage& other);
439 
440  protected:
441  // protected and unimplemented operator==(), to prevent accidental usage
442  bool operator==(const BaseAppDataMessage&);
443 
444  public:
445  BaseAppDataMessage(const char *name=NULL, int kind=0);
447  virtual ~BaseAppDataMessage();
449  virtual BaseAppDataMessage *dup() const {return new BaseAppDataMessage(*this);}
450  virtual void parsimPack(cCommBuffer *b);
451  virtual void parsimUnpack(cCommBuffer *b);
452 
453  // field getter/setter methods
454  virtual int getDestComp() const;
455  virtual void setDestComp(int destComp);
456  virtual int getSrcComp() const;
457  virtual void setSrcComp(int srcComp);
458 };
459 
460 inline void doPacking(cCommBuffer *b, BaseAppDataMessage& obj) {obj.parsimPack(b);}
461 inline void doUnpacking(cCommBuffer *b, BaseAppDataMessage& obj) {obj.parsimUnpack(b);}
462 
475 {
476  protected:
477  unsigned int nonce_var;
479  AuthBlock *authBlock_var; // array ptr
481 
482  private:
483  void copy(const BaseRpcMessage& other);
484 
485  protected:
486  // protected and unimplemented operator==(), to prevent accidental usage
487  bool operator==(const BaseRpcMessage&);
488 
489  public:
490  BaseRpcMessage(const char *name=NULL, int kind=0);
491  BaseRpcMessage(const BaseRpcMessage& other);
492  virtual ~BaseRpcMessage();
493  BaseRpcMessage& operator=(const BaseRpcMessage& other);
494  virtual BaseRpcMessage *dup() const {return new BaseRpcMessage(*this);}
495  virtual void parsimPack(cCommBuffer *b);
496  virtual void parsimUnpack(cCommBuffer *b);
497 
498  // field getter/setter methods
499  virtual unsigned int getNonce() const;
500  virtual void setNonce(unsigned int nonce);
501  virtual NodeHandle& getSrcNode();
502  virtual const NodeHandle& getSrcNode() const {return const_cast<BaseRpcMessage*>(this)->getSrcNode();}
503  virtual void setSrcNode(const NodeHandle& srcNode);
504  virtual void setAuthBlockArraySize(uint8_t size);
505  virtual uint8_t getAuthBlockArraySize() const;
506  virtual AuthBlock& getAuthBlock(uint8_t k);
507  virtual const AuthBlock& getAuthBlock(uint8_t k) const {return const_cast<BaseRpcMessage*>(this)->getAuthBlock(k);}
508  virtual void setAuthBlock(uint8_t k, const AuthBlock& authBlock);
509 };
510 
511 inline void doPacking(cCommBuffer *b, BaseRpcMessage& obj) {obj.parsimPack(b);}
512 inline void doUnpacking(cCommBuffer *b, BaseRpcMessage& obj) {obj.parsimUnpack(b);}
513 
523 {
524  protected:
525 
526  private:
527  void copy(const BaseCallMessage& other);
528 
529  protected:
530  // protected and unimplemented operator==(), to prevent accidental usage
531  bool operator==(const BaseCallMessage&);
532 
533  public:
534  BaseCallMessage(const char *name=NULL, int kind=0);
535  BaseCallMessage(const BaseCallMessage& other);
536  virtual ~BaseCallMessage();
538  virtual BaseCallMessage *dup() const {return new BaseCallMessage(*this);}
539  virtual void parsimPack(cCommBuffer *b);
540  virtual void parsimUnpack(cCommBuffer *b);
541 
542  // field getter/setter methods
543 };
544 
545 inline void doPacking(cCommBuffer *b, BaseCallMessage& obj) {obj.parsimPack(b);}
546 inline void doUnpacking(cCommBuffer *b, BaseCallMessage& obj) {obj.parsimUnpack(b);}
547 
559 {
560  protected:
562  double *ncsInfo_var; // array ptr
563  unsigned int ncsInfo_arraysize;
564 
565  private:
566  void copy(const BaseResponseMessage& other);
567 
568  protected:
569  // protected and unimplemented operator==(), to prevent accidental usage
570  bool operator==(const BaseResponseMessage&);
571 
572  public:
573  BaseResponseMessage(const char *name=NULL, int kind=0);
575  virtual ~BaseResponseMessage();
577  virtual BaseResponseMessage *dup() const {return new BaseResponseMessage(*this);}
578  virtual void parsimPack(cCommBuffer *b);
579  virtual void parsimUnpack(cCommBuffer *b);
580 
581  // field getter/setter methods
582  virtual int getCallHopCount() const;
583  virtual void setCallHopCount(int callHopCount);
584  virtual void setNcsInfoArraySize(unsigned int size);
585  virtual unsigned int getNcsInfoArraySize() const;
586  virtual double getNcsInfo(unsigned int k) const;
587  virtual void setNcsInfo(unsigned int k, double ncsInfo);
588 };
589 
590 inline void doPacking(cCommBuffer *b, BaseResponseMessage& obj) {obj.parsimPack(b);}
591 inline void doUnpacking(cCommBuffer *b, BaseResponseMessage& obj) {obj.parsimUnpack(b);}
592 
602 {
603  protected:
604 
605  private:
606  void copy(const RpcTimeoutMessage& other);
607 
608  protected:
609  // protected and unimplemented operator==(), to prevent accidental usage
610  bool operator==(const RpcTimeoutMessage&);
611 
612  public:
613  RpcTimeoutMessage(const char *name=NULL, int kind=0);
614  RpcTimeoutMessage(const RpcTimeoutMessage& other);
615  virtual ~RpcTimeoutMessage();
617  virtual RpcTimeoutMessage *dup() const {return new RpcTimeoutMessage(*this);}
618  virtual void parsimPack(cCommBuffer *b);
619  virtual void parsimUnpack(cCommBuffer *b);
620 
621  // field getter/setter methods
622 };
623 
624 inline void doPacking(cCommBuffer *b, RpcTimeoutMessage& obj) {obj.parsimPack(b);}
625 inline void doUnpacking(cCommBuffer *b, RpcTimeoutMessage& obj) {obj.parsimUnpack(b);}
626 
640 {
641  protected:
646 
647  private:
648  void copy(const FindNodeCall& other);
649 
650  protected:
651  // protected and unimplemented operator==(), to prevent accidental usage
652  bool operator==(const FindNodeCall&);
653 
654  public:
655  FindNodeCall(const char *name=NULL, int kind=0);
656  FindNodeCall(const FindNodeCall& other);
657  virtual ~FindNodeCall();
658  FindNodeCall& operator=(const FindNodeCall& other);
659  virtual FindNodeCall *dup() const {return new FindNodeCall(*this);}
660  virtual void parsimPack(cCommBuffer *b);
661  virtual void parsimUnpack(cCommBuffer *b);
662 
663  // field getter/setter methods
664  virtual OverlayKey& getLookupKey();
665  virtual const OverlayKey& getLookupKey() const {return const_cast<FindNodeCall*>(this)->getLookupKey();}
666  virtual void setLookupKey(const OverlayKey& lookupKey);
667  virtual int getNumRedundantNodes() const;
668  virtual void setNumRedundantNodes(int numRedundantNodes);
669  virtual int getNumSiblings() const;
670  virtual void setNumSiblings(int numSiblings);
671  virtual bool getExhaustiveIterative() const;
672  virtual void setExhaustiveIterative(bool exhaustiveIterative);
673 };
674 
675 inline void doPacking(cCommBuffer *b, FindNodeCall& obj) {obj.parsimPack(b);}
676 inline void doUnpacking(cCommBuffer *b, FindNodeCall& obj) {obj.parsimUnpack(b);}
677 
690 {
691  protected:
695 
696  private:
697  void copy(const FindNodeResponse& other);
698 
699  protected:
700  // protected and unimplemented operator==(), to prevent accidental usage
701  bool operator==(const FindNodeResponse&);
702 
703  public:
704  FindNodeResponse(const char *name=NULL, int kind=0);
705  FindNodeResponse(const FindNodeResponse& other);
706  virtual ~FindNodeResponse();
708  virtual FindNodeResponse *dup() const {return new FindNodeResponse(*this);}
709  virtual void parsimPack(cCommBuffer *b);
710  virtual void parsimUnpack(cCommBuffer *b);
711 
712  // field getter/setter methods
713  virtual bool getSiblings() const;
714  virtual void setSiblings(bool siblings);
715  virtual void setClosestNodesArraySize(unsigned int size);
716  virtual unsigned int getClosestNodesArraySize() const;
717  virtual NodeHandle& getClosestNodes(unsigned int k);
718  virtual const NodeHandle& getClosestNodes(unsigned int k) const {return const_cast<FindNodeResponse*>(this)->getClosestNodes(k);}
719  virtual void setClosestNodes(unsigned int k, const NodeHandle& closestNodes);
720 };
721 
722 inline void doPacking(cCommBuffer *b, FindNodeResponse& obj) {obj.parsimPack(b);}
723 inline void doUnpacking(cCommBuffer *b, FindNodeResponse& obj) {obj.parsimUnpack(b);}
724 
735 {
736  protected:
738 
739  private:
740  void copy(const FailedNodeCall& other);
741 
742  protected:
743  // protected and unimplemented operator==(), to prevent accidental usage
744  bool operator==(const FailedNodeCall&);
745 
746  public:
747  FailedNodeCall(const char *name=NULL, int kind=0);
748  FailedNodeCall(const FailedNodeCall& other);
749  virtual ~FailedNodeCall();
750  FailedNodeCall& operator=(const FailedNodeCall& other);
751  virtual FailedNodeCall *dup() const {return new FailedNodeCall(*this);}
752  virtual void parsimPack(cCommBuffer *b);
753  virtual void parsimUnpack(cCommBuffer *b);
754 
755  // field getter/setter methods
756  virtual TransportAddress& getFailedNode();
757  virtual const TransportAddress& getFailedNode() const {return const_cast<FailedNodeCall*>(this)->getFailedNode();}
758  virtual void setFailedNode(const TransportAddress& failedNode);
759 };
760 
761 inline void doPacking(cCommBuffer *b, FailedNodeCall& obj) {obj.parsimPack(b);}
762 inline void doUnpacking(cCommBuffer *b, FailedNodeCall& obj) {obj.parsimUnpack(b);}
763 
774 {
775  protected:
777 
778  private:
779  void copy(const FailedNodeResponse& other);
780 
781  protected:
782  // protected and unimplemented operator==(), to prevent accidental usage
783  bool operator==(const FailedNodeResponse&);
784 
785  public:
786  FailedNodeResponse(const char *name=NULL, int kind=0);
788  virtual ~FailedNodeResponse();
790  virtual FailedNodeResponse *dup() const {return new FailedNodeResponse(*this);}
791  virtual void parsimPack(cCommBuffer *b);
792  virtual void parsimUnpack(cCommBuffer *b);
793 
794  // field getter/setter methods
795  virtual bool getTryAgain() const;
796  virtual void setTryAgain(bool tryAgain);
797 };
798 
799 inline void doPacking(cCommBuffer *b, FailedNodeResponse& obj) {obj.parsimPack(b);}
800 inline void doUnpacking(cCommBuffer *b, FailedNodeResponse& obj) {obj.parsimUnpack(b);}
801 
811 {
812  protected:
813 
814  private:
815  void copy(const PingCall& other);
816 
817  protected:
818  // protected and unimplemented operator==(), to prevent accidental usage
819  bool operator==(const PingCall&);
820 
821  public:
822  PingCall(const char *name=NULL, int kind=0);
823  PingCall(const PingCall& other);
824  virtual ~PingCall();
825  PingCall& operator=(const PingCall& other);
826  virtual PingCall *dup() const {return new PingCall(*this);}
827  virtual void parsimPack(cCommBuffer *b);
828  virtual void parsimUnpack(cCommBuffer *b);
829 
830  // field getter/setter methods
831 };
832 
833 inline void doPacking(cCommBuffer *b, PingCall& obj) {obj.parsimPack(b);}
834 inline void doUnpacking(cCommBuffer *b, PingCall& obj) {obj.parsimUnpack(b);}
835 
845 {
846  protected:
847 
848  private:
849  void copy(const PingResponse& other);
850 
851  protected:
852  // protected and unimplemented operator==(), to prevent accidental usage
853  bool operator==(const PingResponse&);
854 
855  public:
856  PingResponse(const char *name=NULL, int kind=0);
857  PingResponse(const PingResponse& other);
858  virtual ~PingResponse();
859  PingResponse& operator=(const PingResponse& other);
860  virtual PingResponse *dup() const {return new PingResponse(*this);}
861  virtual void parsimPack(cCommBuffer *b);
862  virtual void parsimUnpack(cCommBuffer *b);
863 
864  // field getter/setter methods
865 };
866 
867 inline void doPacking(cCommBuffer *b, PingResponse& obj) {obj.parsimPack(b);}
868 inline void doUnpacking(cCommBuffer *b, PingResponse& obj) {obj.parsimUnpack(b);}
869 
881 class CompReadyMessage : public ::cPacket
882 {
883  protected:
884  bool ready_var;
885  int comp_var;
887 
888  private:
889  void copy(const CompReadyMessage& other);
890 
891  protected:
892  // protected and unimplemented operator==(), to prevent accidental usage
893  bool operator==(const CompReadyMessage&);
894 
895  public:
896  CompReadyMessage(const char *name=NULL, int kind=0);
897  CompReadyMessage(const CompReadyMessage& other);
898  virtual ~CompReadyMessage();
900  virtual CompReadyMessage *dup() const {return new CompReadyMessage(*this);}
901  virtual void parsimPack(cCommBuffer *b);
902  virtual void parsimUnpack(cCommBuffer *b);
903 
904  // field getter/setter methods
905  virtual bool getReady() const;
906  virtual void setReady(bool ready);
907  virtual int getComp() const;
908  virtual void setComp(int comp);
909  virtual OverlayKey& getNodeId();
910  virtual const OverlayKey& getNodeId() const {return const_cast<CompReadyMessage*>(this)->getNodeId();}
911  virtual void setNodeId(const OverlayKey& nodeId);
912 };
913 
914 inline void doPacking(cCommBuffer *b, CompReadyMessage& obj) {obj.parsimPack(b);}
915 inline void doUnpacking(cCommBuffer *b, CompReadyMessage& obj) {obj.parsimUnpack(b);}
916 
926 {
927  protected:
928 
929  private:
930  void copy(const BootstrapLookupMessage& other);
931 
932  protected:
933  // protected and unimplemented operator==(), to prevent accidental usage
934  bool operator==(const BootstrapLookupMessage&);
935 
936  public:
937  BootstrapLookupMessage(const char *name=NULL, int kind=0);
939  virtual ~BootstrapLookupMessage();
941  virtual BootstrapLookupMessage *dup() const {return new BootstrapLookupMessage(*this);}
942  virtual void parsimPack(cCommBuffer *b);
943  virtual void parsimUnpack(cCommBuffer *b);
944 
945  // field getter/setter methods
946 };
947 
948 inline void doPacking(cCommBuffer *b, BootstrapLookupMessage& obj) {obj.parsimPack(b);}
949 inline void doUnpacking(cCommBuffer *b, BootstrapLookupMessage& obj) {obj.parsimUnpack(b);}
950 
960 {
961  protected:
962 
963  private:
964  void copy(const NextHopCall& other);
965 
966  protected:
967  // protected and unimplemented operator==(), to prevent accidental usage
968  bool operator==(const NextHopCall&);
969 
970  public:
971  NextHopCall(const char *name=NULL, int kind=0);
972  NextHopCall(const NextHopCall& other);
973  virtual ~NextHopCall();
974  NextHopCall& operator=(const NextHopCall& other);
975  virtual NextHopCall *dup() const {return new NextHopCall(*this);}
976  virtual void parsimPack(cCommBuffer *b);
977  virtual void parsimUnpack(cCommBuffer *b);
978 
979  // field getter/setter methods
980 };
981 
982 inline void doPacking(cCommBuffer *b, NextHopCall& obj) {obj.parsimPack(b);}
983 inline void doUnpacking(cCommBuffer *b, NextHopCall& obj) {obj.parsimUnpack(b);}
984 
994 {
995  protected:
996 
997  private:
998  void copy(const NextHopResponse& other);
999 
1000  protected:
1001  // protected and unimplemented operator==(), to prevent accidental usage
1002  bool operator==(const NextHopResponse&);
1003 
1004  public:
1005  NextHopResponse(const char *name=NULL, int kind=0);
1006  NextHopResponse(const NextHopResponse& other);
1007  virtual ~NextHopResponse();
1008  NextHopResponse& operator=(const NextHopResponse& other);
1009  virtual NextHopResponse *dup() const {return new NextHopResponse(*this);}
1010  virtual void parsimPack(cCommBuffer *b);
1011  virtual void parsimUnpack(cCommBuffer *b);
1012 
1013  // field getter/setter methods
1014 };
1015 
1016 inline void doPacking(cCommBuffer *b, NextHopResponse& obj) {obj.parsimPack(b);}
1017 inline void doUnpacking(cCommBuffer *b, NextHopResponse& obj) {obj.parsimUnpack(b);}
1018 
1027 class SingleHostUnderlayPacketNotification : public ::cMessage
1028 {
1029  protected:
1030 
1031  private:
1032  void copy(const SingleHostUnderlayPacketNotification& other);
1033 
1034  protected:
1035  // protected and unimplemented operator==(), to prevent accidental usage
1037 
1038  public:
1039  SingleHostUnderlayPacketNotification(const char *name=NULL, int kind=0);
1044  virtual void parsimPack(cCommBuffer *b);
1045  virtual void parsimUnpack(cCommBuffer *b);
1046 
1047  // field getter/setter methods
1048 };
1049 
1050 inline void doPacking(cCommBuffer *b, SingleHostUnderlayPacketNotification& obj) {obj.parsimPack(b);}
1051 inline void doUnpacking(cCommBuffer *b, SingleHostUnderlayPacketNotification& obj) {obj.parsimUnpack(b);}
1052 
1062 class TcpDataMessage : public ::cMessage
1063 {
1064  protected:
1066 
1067  private:
1068  void copy(const TcpDataMessage& other);
1069 
1070  protected:
1071  // protected and unimplemented operator==(), to prevent accidental usage
1072  bool operator==(const TcpDataMessage&);
1073 
1074  public:
1075  TcpDataMessage(const char *name=NULL, int kind=0);
1076  TcpDataMessage(const TcpDataMessage& other);
1077  virtual ~TcpDataMessage();
1078  TcpDataMessage& operator=(const TcpDataMessage& other);
1079  virtual TcpDataMessage *dup() const {return new TcpDataMessage(*this);}
1080  virtual void parsimPack(cCommBuffer *b);
1081  virtual void parsimUnpack(cCommBuffer *b);
1082 
1083  // field getter/setter methods
1084  virtual BinaryValue& getData();
1085  virtual const BinaryValue& getData() const {return const_cast<TcpDataMessage*>(this)->getData();}
1086  virtual void setData(const BinaryValue& data);
1087 };
1088 
1089 inline void doPacking(cCommBuffer *b, TcpDataMessage& obj) {obj.parsimPack(b);}
1090 inline void doUnpacking(cCommBuffer *b, TcpDataMessage& obj) {obj.parsimUnpack(b);}
1091 
1101 class CommonAPIMessage : public ::cPacket
1102 {
1103  protected:
1105 
1106  private:
1107  void copy(const CommonAPIMessage& other);
1108 
1109  protected:
1110  // protected and unimplemented operator==(), to prevent accidental usage
1111  bool operator==(const CommonAPIMessage&);
1112 
1113  public:
1114  CommonAPIMessage(const char *name=NULL, int kind=0);
1115  CommonAPIMessage(const CommonAPIMessage& other);
1116  virtual ~CommonAPIMessage();
1118  virtual CommonAPIMessage *dup() const {return new CommonAPIMessage(*this);}
1119  virtual void parsimPack(cCommBuffer *b);
1120  virtual void parsimUnpack(cCommBuffer *b);
1121 
1122  // field getter/setter methods
1123  virtual int getType() const;
1124  virtual void setType(int type);
1125 };
1126 
1127 inline void doPacking(cCommBuffer *b, CommonAPIMessage& obj) {obj.parsimPack(b);}
1128 inline void doUnpacking(cCommBuffer *b, CommonAPIMessage& obj) {obj.parsimUnpack(b);}
1129 
1144 {
1145  protected:
1152 
1153  private:
1154  void copy(const KBRroute& other);
1155 
1156  protected:
1157  // protected and unimplemented operator==(), to prevent accidental usage
1158  bool operator==(const KBRroute&);
1159 
1160  public:
1161  KBRroute(const char *name=NULL, int kind=0);
1162  KBRroute(const KBRroute& other);
1163  virtual ~KBRroute();
1164  KBRroute& operator=(const KBRroute& other);
1165  virtual KBRroute *dup() const {return new KBRroute(*this);}
1166  virtual void parsimPack(cCommBuffer *b);
1167  virtual void parsimUnpack(cCommBuffer *b);
1168 
1169  // field getter/setter methods
1170  virtual OverlayKey& getDestKey();
1171  virtual const OverlayKey& getDestKey() const {return const_cast<KBRroute*>(this)->getDestKey();}
1172  virtual void setDestKey(const OverlayKey& destKey);
1173  virtual int getDestComp() const;
1174  virtual void setDestComp(int destComp);
1175  virtual int getSrcComp() const;
1176  virtual void setSrcComp(int srcComp);
1177  virtual void setSourceRouteArraySize(unsigned int size);
1178  virtual unsigned int getSourceRouteArraySize() const;
1179  virtual TransportAddress& getSourceRoute(unsigned int k);
1180  virtual const TransportAddress& getSourceRoute(unsigned int k) const {return const_cast<KBRroute*>(this)->getSourceRoute(k);}
1181  virtual void setSourceRoute(unsigned int k, const TransportAddress& sourceRoute);
1182  virtual int getRoutingType() const;
1183  virtual void setRoutingType(int routingType);
1184 };
1185 
1186 inline void doPacking(cCommBuffer *b, KBRroute& obj) {obj.parsimPack(b);}
1187 inline void doUnpacking(cCommBuffer *b, KBRroute& obj) {obj.parsimUnpack(b);}
1188 
1200 {
1201  protected:
1204 
1205  private:
1206  void copy(const KBRforward& other);
1207 
1208  protected:
1209  // protected and unimplemented operator==(), to prevent accidental usage
1210  bool operator==(const KBRforward&);
1211 
1212  public:
1213  KBRforward(const char *name=NULL, int kind=0);
1214  KBRforward(const KBRforward& other);
1215  virtual ~KBRforward();
1216  KBRforward& operator=(const KBRforward& other);
1217  virtual KBRforward *dup() const {return new KBRforward(*this);}
1218  virtual void parsimPack(cCommBuffer *b);
1219  virtual void parsimUnpack(cCommBuffer *b);
1220 
1221  // field getter/setter methods
1222  virtual OverlayKey& getDestKey();
1223  virtual const OverlayKey& getDestKey() const {return const_cast<KBRforward*>(this)->getDestKey();}
1224  virtual void setDestKey(const OverlayKey& destKey);
1225  virtual NodeHandle& getNextHopNode();
1226  virtual const NodeHandle& getNextHopNode() const {return const_cast<KBRforward*>(this)->getNextHopNode();}
1227  virtual void setNextHopNode(const NodeHandle& nextHopNode);
1228 };
1229 
1230 inline void doPacking(cCommBuffer *b, KBRforward& obj) {obj.parsimPack(b);}
1231 inline void doUnpacking(cCommBuffer *b, KBRforward& obj) {obj.parsimUnpack(b);}
1232 
1243 {
1244  protected:
1246 
1247  private:
1248  void copy(const KBRdeliver& other);
1249 
1250  protected:
1251  // protected and unimplemented operator==(), to prevent accidental usage
1252  bool operator==(const KBRdeliver&);
1253 
1254  public:
1255  KBRdeliver(const char *name=NULL, int kind=0);
1256  KBRdeliver(const KBRdeliver& other);
1257  virtual ~KBRdeliver();
1258  KBRdeliver& operator=(const KBRdeliver& other);
1259  virtual KBRdeliver *dup() const {return new KBRdeliver(*this);}
1260  virtual void parsimPack(cCommBuffer *b);
1261  virtual void parsimUnpack(cCommBuffer *b);
1262 
1263  // field getter/setter methods
1264  virtual OverlayKey& getDestKey();
1265  virtual const OverlayKey& getDestKey() const {return const_cast<KBRdeliver*>(this)->getDestKey();}
1266  virtual void setDestKey(const OverlayKey& destKey);
1267 };
1268 
1269 inline void doPacking(cCommBuffer *b, KBRdeliver& obj) {obj.parsimPack(b);}
1270 inline void doUnpacking(cCommBuffer *b, KBRdeliver& obj) {obj.parsimUnpack(b);}
1271 
1283 {
1284  protected:
1287 
1288  private:
1289  void copy(const KBRupdate& other);
1290 
1291  protected:
1292  // protected and unimplemented operator==(), to prevent accidental usage
1293  bool operator==(const KBRupdate&);
1294 
1295  public:
1296  KBRupdate(const char *name=NULL, int kind=0);
1297  KBRupdate(const KBRupdate& other);
1298  virtual ~KBRupdate();
1299  KBRupdate& operator=(const KBRupdate& other);
1300  virtual KBRupdate *dup() const {return new KBRupdate(*this);}
1301  virtual void parsimPack(cCommBuffer *b);
1302  virtual void parsimUnpack(cCommBuffer *b);
1303 
1304  // field getter/setter methods
1305  virtual NodeHandle& getNode();
1306  virtual const NodeHandle& getNode() const {return const_cast<KBRupdate*>(this)->getNode();}
1307  virtual void setNode(const NodeHandle& node);
1308  virtual bool getJoined() const;
1309  virtual void setJoined(bool joined);
1310 };
1311 
1312 inline void doPacking(cCommBuffer *b, KBRupdate& obj) {obj.parsimPack(b);}
1313 inline void doUnpacking(cCommBuffer *b, KBRupdate& obj) {obj.parsimUnpack(b);}
1314 
1331 class DhtDumpEntry : public ::cObject
1332 {
1333  protected:
1335  uint32_t kind_var;
1336  uint32_t id_var;
1338  int ttl_var;
1342 
1343  private:
1344  void copy(const DhtDumpEntry& other);
1345 
1346  protected:
1347  // protected and unimplemented operator==(), to prevent accidental usage
1348  bool operator==(const DhtDumpEntry&);
1349 
1350  public:
1351  DhtDumpEntry();
1352  DhtDumpEntry(const DhtDumpEntry& other);
1353  virtual ~DhtDumpEntry();
1354  DhtDumpEntry& operator=(const DhtDumpEntry& other);
1355  virtual DhtDumpEntry *dup() const {return new DhtDumpEntry(*this);}
1356  virtual void parsimPack(cCommBuffer *b);
1357  virtual void parsimUnpack(cCommBuffer *b);
1358 
1359  // field getter/setter methods
1360  virtual OverlayKey& getKey();
1361  virtual const OverlayKey& getKey() const {return const_cast<DhtDumpEntry*>(this)->getKey();}
1362  virtual void setKey(const OverlayKey& key);
1363  virtual uint32_t getKind() const;
1364  virtual void setKind(uint32_t kind);
1365  virtual uint32_t getId() const;
1366  virtual void setId(uint32_t id);
1367  virtual BinaryValue& getValue();
1368  virtual const BinaryValue& getValue() const {return const_cast<DhtDumpEntry*>(this)->getValue();}
1369  virtual void setValue(const BinaryValue& value);
1370  virtual int getTtl() const;
1371  virtual void setTtl(int ttl);
1372  virtual NodeHandle& getOwnerNode();
1373  virtual const NodeHandle& getOwnerNode() const {return const_cast<DhtDumpEntry*>(this)->getOwnerNode();}
1374  virtual void setOwnerNode(const NodeHandle& ownerNode);
1375  virtual bool getIs_modifiable() const;
1376  virtual void setIs_modifiable(bool is_modifiable);
1377  virtual bool getResponsible() const;
1378  virtual void setResponsible(bool responsible);
1379 };
1380 
1381 inline void doPacking(cCommBuffer *b, DhtDumpEntry& obj) {obj.parsimPack(b);}
1382 inline void doUnpacking(cCommBuffer *b, DhtDumpEntry& obj) {obj.parsimUnpack(b);}
1383 
1399 {
1400  protected:
1402  uint32_t kind_var;
1403  uint32_t id_var;
1405  int ttl_var;
1407 
1408  private:
1409  void copy(const DHTputCAPICall& other);
1410 
1411  protected:
1412  // protected and unimplemented operator==(), to prevent accidental usage
1413  bool operator==(const DHTputCAPICall&);
1414 
1415  public:
1416  DHTputCAPICall(const char *name=NULL, int kind=0);
1417  DHTputCAPICall(const DHTputCAPICall& other);
1418  virtual ~DHTputCAPICall();
1419  DHTputCAPICall& operator=(const DHTputCAPICall& other);
1420  virtual DHTputCAPICall *dup() const {return new DHTputCAPICall(*this);}
1421  virtual void parsimPack(cCommBuffer *b);
1422  virtual void parsimUnpack(cCommBuffer *b);
1423 
1424  // field getter/setter methods
1425  virtual OverlayKey& getKey();
1426  virtual const OverlayKey& getKey() const {return const_cast<DHTputCAPICall*>(this)->getKey();}
1427  virtual void setKey(const OverlayKey& key);
1428  virtual uint32_t getKind() const;
1429  virtual void setKind(uint32_t kind);
1430  virtual uint32_t getId() const;
1431  virtual void setId(uint32_t id);
1432  virtual BinaryValue& getValue();
1433  virtual const BinaryValue& getValue() const {return const_cast<DHTputCAPICall*>(this)->getValue();}
1434  virtual void setValue(const BinaryValue& value);
1435  virtual int getTtl() const;
1436  virtual void setTtl(int ttl);
1437  virtual bool getIsModifiable() const;
1438  virtual void setIsModifiable(bool isModifiable);
1439 };
1440 
1441 inline void doPacking(cCommBuffer *b, DHTputCAPICall& obj) {obj.parsimPack(b);}
1442 inline void doUnpacking(cCommBuffer *b, DHTputCAPICall& obj) {obj.parsimUnpack(b);}
1443 
1456 {
1457  protected:
1459  uint32_t kind_var;
1460  uint32_t id_var;
1461 
1462  private:
1463  void copy(const DHTgetCAPICall& other);
1464 
1465  protected:
1466  // protected and unimplemented operator==(), to prevent accidental usage
1467  bool operator==(const DHTgetCAPICall&);
1468 
1469  public:
1470  DHTgetCAPICall(const char *name=NULL, int kind=0);
1471  DHTgetCAPICall(const DHTgetCAPICall& other);
1472  virtual ~DHTgetCAPICall();
1473  DHTgetCAPICall& operator=(const DHTgetCAPICall& other);
1474  virtual DHTgetCAPICall *dup() const {return new DHTgetCAPICall(*this);}
1475  virtual void parsimPack(cCommBuffer *b);
1476  virtual void parsimUnpack(cCommBuffer *b);
1477 
1478  // field getter/setter methods
1479  virtual OverlayKey& getKey();
1480  virtual const OverlayKey& getKey() const {return const_cast<DHTgetCAPICall*>(this)->getKey();}
1481  virtual void setKey(const OverlayKey& key);
1482  virtual uint32_t getKind() const;
1483  virtual void setKind(uint32_t kind);
1484  virtual uint32_t getId() const;
1485  virtual void setId(uint32_t id);
1486 };
1487 
1488 inline void doPacking(cCommBuffer *b, DHTgetCAPICall& obj) {obj.parsimPack(b);}
1489 inline void doUnpacking(cCommBuffer *b, DHTgetCAPICall& obj) {obj.parsimUnpack(b);}
1490 
1501 {
1502  protected:
1504 
1505  private:
1506  void copy(const DHTputCAPIResponse& other);
1507 
1508  protected:
1509  // protected and unimplemented operator==(), to prevent accidental usage
1510  bool operator==(const DHTputCAPIResponse&);
1511 
1512  public:
1513  DHTputCAPIResponse(const char *name=NULL, int kind=0);
1514  DHTputCAPIResponse(const DHTputCAPIResponse& other);
1515  virtual ~DHTputCAPIResponse();
1517  virtual DHTputCAPIResponse *dup() const {return new DHTputCAPIResponse(*this);}
1518  virtual void parsimPack(cCommBuffer *b);
1519  virtual void parsimUnpack(cCommBuffer *b);
1520 
1521  // field getter/setter methods
1522  virtual bool getIsSuccess() const;
1523  virtual void setIsSuccess(bool isSuccess);
1524 };
1525 
1526 inline void doPacking(cCommBuffer *b, DHTputCAPIResponse& obj) {obj.parsimPack(b);}
1527 inline void doUnpacking(cCommBuffer *b, DHTputCAPIResponse& obj) {obj.parsimUnpack(b);}
1528 
1540 {
1541  protected:
1542  DhtDumpEntry *result_var; // array ptr
1543  unsigned int result_arraysize;
1545 
1546  private:
1547  void copy(const DHTgetCAPIResponse& other);
1548 
1549  protected:
1550  // protected and unimplemented operator==(), to prevent accidental usage
1551  bool operator==(const DHTgetCAPIResponse&);
1552 
1553  public:
1554  DHTgetCAPIResponse(const char *name=NULL, int kind=0);
1555  DHTgetCAPIResponse(const DHTgetCAPIResponse& other);
1556  virtual ~DHTgetCAPIResponse();
1558  virtual DHTgetCAPIResponse *dup() const {return new DHTgetCAPIResponse(*this);}
1559  virtual void parsimPack(cCommBuffer *b);
1560  virtual void parsimUnpack(cCommBuffer *b);
1561 
1562  // field getter/setter methods
1563  virtual void setResultArraySize(unsigned int size);
1564  virtual unsigned int getResultArraySize() const;
1565  virtual DhtDumpEntry& getResult(unsigned int k);
1566  virtual const DhtDumpEntry& getResult(unsigned int k) const {return const_cast<DHTgetCAPIResponse*>(this)->getResult(k);}
1567  virtual void setResult(unsigned int k, const DhtDumpEntry& result);
1568  virtual bool getIsSuccess() const;
1569  virtual void setIsSuccess(bool isSuccess);
1570 };
1571 
1572 inline void doPacking(cCommBuffer *b, DHTgetCAPIResponse& obj) {obj.parsimPack(b);}
1573 inline void doUnpacking(cCommBuffer *b, DHTgetCAPIResponse& obj) {obj.parsimUnpack(b);}
1574 
1584 {
1585  protected:
1586 
1587  private:
1588  void copy(const DHTdumpCall& other);
1589 
1590  protected:
1591  // protected and unimplemented operator==(), to prevent accidental usage
1592  bool operator==(const DHTdumpCall&);
1593 
1594  public:
1595  DHTdumpCall(const char *name=NULL, int kind=0);
1596  DHTdumpCall(const DHTdumpCall& other);
1597  virtual ~DHTdumpCall();
1598  DHTdumpCall& operator=(const DHTdumpCall& other);
1599  virtual DHTdumpCall *dup() const {return new DHTdumpCall(*this);}
1600  virtual void parsimPack(cCommBuffer *b);
1601  virtual void parsimUnpack(cCommBuffer *b);
1602 
1603  // field getter/setter methods
1604 };
1605 
1606 inline void doPacking(cCommBuffer *b, DHTdumpCall& obj) {obj.parsimPack(b);}
1607 inline void doUnpacking(cCommBuffer *b, DHTdumpCall& obj) {obj.parsimUnpack(b);}
1608 
1619 {
1620  protected:
1621  DhtDumpEntry *record_var; // array ptr
1622  unsigned int record_arraysize;
1623 
1624  private:
1625  void copy(const DHTdumpResponse& other);
1626 
1627  protected:
1628  // protected and unimplemented operator==(), to prevent accidental usage
1629  bool operator==(const DHTdumpResponse&);
1630 
1631  public:
1632  DHTdumpResponse(const char *name=NULL, int kind=0);
1633  DHTdumpResponse(const DHTdumpResponse& other);
1634  virtual ~DHTdumpResponse();
1635  DHTdumpResponse& operator=(const DHTdumpResponse& other);
1636  virtual DHTdumpResponse *dup() const {return new DHTdumpResponse(*this);}
1637  virtual void parsimPack(cCommBuffer *b);
1638  virtual void parsimUnpack(cCommBuffer *b);
1639 
1640  // field getter/setter methods
1641  virtual void setRecordArraySize(unsigned int size);
1642  virtual unsigned int getRecordArraySize() const;
1643  virtual DhtDumpEntry& getRecord(unsigned int k);
1644  virtual const DhtDumpEntry& getRecord(unsigned int k) const {return const_cast<DHTdumpResponse*>(this)->getRecord(k);}
1645  virtual void setRecord(unsigned int k, const DhtDumpEntry& record);
1646 };
1647 
1648 inline void doPacking(cCommBuffer *b, DHTdumpResponse& obj) {obj.parsimPack(b);}
1649 inline void doUnpacking(cCommBuffer *b, DHTdumpResponse& obj) {obj.parsimUnpack(b);}
1650 
1663 {
1664  protected:
1668 
1669  private:
1670  void copy(const LookupCall& other);
1671 
1672  protected:
1673  // protected and unimplemented operator==(), to prevent accidental usage
1674  bool operator==(const LookupCall&);
1675 
1676  public:
1677  LookupCall(const char *name=NULL, int kind=0);
1678  LookupCall(const LookupCall& other);
1679  virtual ~LookupCall();
1680  LookupCall& operator=(const LookupCall& other);
1681  virtual LookupCall *dup() const {return new LookupCall(*this);}
1682  virtual void parsimPack(cCommBuffer *b);
1683  virtual void parsimUnpack(cCommBuffer *b);
1684 
1685  // field getter/setter methods
1686  virtual OverlayKey& getKey();
1687  virtual const OverlayKey& getKey() const {return const_cast<LookupCall*>(this)->getKey();}
1688  virtual void setKey(const OverlayKey& key);
1689  virtual int getNumSiblings() const;
1690  virtual void setNumSiblings(int numSiblings);
1691  virtual int getRoutingType() const;
1692  virtual void setRoutingType(int routingType);
1693 };
1694 
1695 inline void doPacking(cCommBuffer *b, LookupCall& obj) {obj.parsimPack(b);}
1696 inline void doUnpacking(cCommBuffer *b, LookupCall& obj) {obj.parsimUnpack(b);}
1697 
1711 {
1712  protected:
1716  NodeHandle *siblings_var; // array ptr
1717  unsigned int siblings_arraysize;
1718 
1719  private:
1720  void copy(const LookupResponse& other);
1721 
1722  protected:
1723  // protected and unimplemented operator==(), to prevent accidental usage
1724  bool operator==(const LookupResponse&);
1725 
1726  public:
1727  LookupResponse(const char *name=NULL, int kind=0);
1728  LookupResponse(const LookupResponse& other);
1729  virtual ~LookupResponse();
1730  LookupResponse& operator=(const LookupResponse& other);
1731  virtual LookupResponse *dup() const {return new LookupResponse(*this);}
1732  virtual void parsimPack(cCommBuffer *b);
1733  virtual void parsimUnpack(cCommBuffer *b);
1734 
1735  // field getter/setter methods
1736  virtual OverlayKey& getKey();
1737  virtual const OverlayKey& getKey() const {return const_cast<LookupResponse*>(this)->getKey();}
1738  virtual void setKey(const OverlayKey& key);
1739  virtual int getHopCount() const;
1740  virtual void setHopCount(int hopCount);
1741  virtual bool getIsValid() const;
1742  virtual void setIsValid(bool isValid);
1743  virtual void setSiblingsArraySize(unsigned int size);
1744  virtual unsigned int getSiblingsArraySize() const;
1745  virtual NodeHandle& getSiblings(unsigned int k);
1746  virtual const NodeHandle& getSiblings(unsigned int k) const {return const_cast<LookupResponse*>(this)->getSiblings(k);}
1747  virtual void setSiblings(unsigned int k, const NodeHandle& siblings);
1748 };
1749 
1750 inline void doPacking(cCommBuffer *b, LookupResponse& obj) {obj.parsimPack(b);}
1751 inline void doUnpacking(cCommBuffer *b, LookupResponse& obj) {obj.parsimUnpack(b);}
1752 
1767 {
1768  protected:
1770  uint32_t kind_var;
1771  uint32_t id_var;
1773  int ttl_var;
1774 
1775  private:
1776  void copy(const P2pnsRegisterCall& other);
1777 
1778  protected:
1779  // protected and unimplemented operator==(), to prevent accidental usage
1780  bool operator==(const P2pnsRegisterCall&);
1781 
1782  public:
1783  P2pnsRegisterCall(const char *name=NULL, int kind=0);
1784  P2pnsRegisterCall(const P2pnsRegisterCall& other);
1785  virtual ~P2pnsRegisterCall();
1787  virtual P2pnsRegisterCall *dup() const {return new P2pnsRegisterCall(*this);}
1788  virtual void parsimPack(cCommBuffer *b);
1789  virtual void parsimUnpack(cCommBuffer *b);
1790 
1791  // field getter/setter methods
1792  virtual BinaryValue& getP2pName();
1793  virtual const BinaryValue& getP2pName() const {return const_cast<P2pnsRegisterCall*>(this)->getP2pName();}
1794  virtual void setP2pName(const BinaryValue& p2pName);
1795  virtual uint32_t getKind() const;
1796  virtual void setKind(uint32_t kind);
1797  virtual uint32_t getId() const;
1798  virtual void setId(uint32_t id);
1799  virtual BinaryValue& getAddress();
1800  virtual const BinaryValue& getAddress() const {return const_cast<P2pnsRegisterCall*>(this)->getAddress();}
1801  virtual void setAddress(const BinaryValue& address);
1802  virtual int getTtl() const;
1803  virtual void setTtl(int ttl);
1804 };
1805 
1806 inline void doPacking(cCommBuffer *b, P2pnsRegisterCall& obj) {obj.parsimPack(b);}
1807 inline void doUnpacking(cCommBuffer *b, P2pnsRegisterCall& obj) {obj.parsimUnpack(b);}
1808 
1821 {
1822  protected:
1826 
1827  private:
1828  void copy(const P2pnsRegisterResponse& other);
1829 
1830  protected:
1831  // protected and unimplemented operator==(), to prevent accidental usage
1832  bool operator==(const P2pnsRegisterResponse&);
1833 
1834  public:
1835  P2pnsRegisterResponse(const char *name=NULL, int kind=0);
1837  virtual ~P2pnsRegisterResponse();
1839  virtual P2pnsRegisterResponse *dup() const {return new P2pnsRegisterResponse(*this);}
1840  virtual void parsimPack(cCommBuffer *b);
1841  virtual void parsimUnpack(cCommBuffer *b);
1842 
1843  // field getter/setter methods
1844  virtual BinaryValue& getP2pName();
1845  virtual const BinaryValue& getP2pName() const {return const_cast<P2pnsRegisterResponse*>(this)->getP2pName();}
1846  virtual void setP2pName(const BinaryValue& p2pName);
1847  virtual BinaryValue& getAddress();
1848  virtual const BinaryValue& getAddress() const {return const_cast<P2pnsRegisterResponse*>(this)->getAddress();}
1849  virtual void setAddress(const BinaryValue& address);
1850  virtual bool getIsSuccess() const;
1851  virtual void setIsSuccess(bool isSuccess);
1852 };
1853 
1854 inline void doPacking(cCommBuffer *b, P2pnsRegisterResponse& obj) {obj.parsimPack(b);}
1855 inline void doUnpacking(cCommBuffer *b, P2pnsRegisterResponse& obj) {obj.parsimUnpack(b);}
1856 
1869 {
1870  protected:
1872  uint32_t kind_var;
1873  uint32_t id_var;
1874 
1875  private:
1876  void copy(const P2pnsResolveCall& other);
1877 
1878  protected:
1879  // protected and unimplemented operator==(), to prevent accidental usage
1880  bool operator==(const P2pnsResolveCall&);
1881 
1882  public:
1883  P2pnsResolveCall(const char *name=NULL, int kind=0);
1884  P2pnsResolveCall(const P2pnsResolveCall& other);
1885  virtual ~P2pnsResolveCall();
1887  virtual P2pnsResolveCall *dup() const {return new P2pnsResolveCall(*this);}
1888  virtual void parsimPack(cCommBuffer *b);
1889  virtual void parsimUnpack(cCommBuffer *b);
1890 
1891  // field getter/setter methods
1892  virtual BinaryValue& getP2pName();
1893  virtual const BinaryValue& getP2pName() const {return const_cast<P2pnsResolveCall*>(this)->getP2pName();}
1894  virtual void setP2pName(const BinaryValue& p2pName);
1895  virtual uint32_t getKind() const;
1896  virtual void setKind(uint32_t kind);
1897  virtual uint32_t getId() const;
1898  virtual void setId(uint32_t id);
1899 };
1900 
1901 inline void doPacking(cCommBuffer *b, P2pnsResolveCall& obj) {obj.parsimPack(b);}
1902 inline void doUnpacking(cCommBuffer *b, P2pnsResolveCall& obj) {obj.parsimUnpack(b);}
1903 
1918 {
1919  protected:
1921  BinaryValue *address_var; // array ptr
1922  unsigned int address_arraysize;
1923  uint32_t *kind_var; // array ptr
1924  unsigned int kind_arraysize;
1925  uint32_t *id_var; // array ptr
1926  unsigned int id_arraysize;
1928 
1929  private:
1930  void copy(const P2pnsResolveResponse& other);
1931 
1932  protected:
1933  // protected and unimplemented operator==(), to prevent accidental usage
1934  bool operator==(const P2pnsResolveResponse&);
1935 
1936  public:
1937  P2pnsResolveResponse(const char *name=NULL, int kind=0);
1939  virtual ~P2pnsResolveResponse();
1941  virtual P2pnsResolveResponse *dup() const {return new P2pnsResolveResponse(*this);}
1942  virtual void parsimPack(cCommBuffer *b);
1943  virtual void parsimUnpack(cCommBuffer *b);
1944 
1945  // field getter/setter methods
1946  virtual BinaryValue& getP2pName();
1947  virtual const BinaryValue& getP2pName() const {return const_cast<P2pnsResolveResponse*>(this)->getP2pName();}
1948  virtual void setP2pName(const BinaryValue& p2pName);
1949  virtual void setAddressArraySize(unsigned int size);
1950  virtual unsigned int getAddressArraySize() const;
1951  virtual BinaryValue& getAddress(unsigned int k);
1952  virtual const BinaryValue& getAddress(unsigned int k) const {return const_cast<P2pnsResolveResponse*>(this)->getAddress(k);}
1953  virtual void setAddress(unsigned int k, const BinaryValue& address);
1954  virtual void setKindArraySize(unsigned int size);
1955  virtual unsigned int getKindArraySize() const;
1956  virtual uint32_t getKind(unsigned int k) const;
1957  virtual void setKind(unsigned int k, uint32_t kind);
1958  virtual void setIdArraySize(unsigned int size);
1959  virtual unsigned int getIdArraySize() const;
1960  virtual uint32_t getId(unsigned int k) const;
1961  virtual void setId(unsigned int k, uint32_t id);
1962  virtual bool getIsSuccess() const;
1963  virtual void setIsSuccess(bool isSuccess);
1964 };
1965 
1966 inline void doPacking(cCommBuffer *b, P2pnsResolveResponse& obj) {obj.parsimPack(b);}
1967 inline void doUnpacking(cCommBuffer *b, P2pnsResolveResponse& obj) {obj.parsimUnpack(b);}
1968 
1986 class OverlayCtrlInfo : public ::cObject
1987 {
1988  protected:
1999 
2000  private:
2001  void copy(const OverlayCtrlInfo& other);
2002 
2003  protected:
2004  // protected and unimplemented operator==(), to prevent accidental usage
2005  bool operator==(const OverlayCtrlInfo&);
2006 
2007  public:
2008  OverlayCtrlInfo();
2009  OverlayCtrlInfo(const OverlayCtrlInfo& other);
2010  virtual ~OverlayCtrlInfo();
2011  OverlayCtrlInfo& operator=(const OverlayCtrlInfo& other);
2012  virtual OverlayCtrlInfo *dup() const {return new OverlayCtrlInfo(*this);}
2013  virtual void parsimPack(cCommBuffer *b);
2014  virtual void parsimUnpack(cCommBuffer *b);
2015 
2016  // field getter/setter methods
2017  virtual TransportAddress& getLastHop();
2018  virtual const TransportAddress& getLastHop() const {return const_cast<OverlayCtrlInfo*>(this)->getLastHop();}
2019  virtual void setLastHop(const TransportAddress& lastHop);
2020  virtual NodeHandle& getSrcNode();
2021  virtual const NodeHandle& getSrcNode() const {return const_cast<OverlayCtrlInfo*>(this)->getSrcNode();}
2022  virtual void setSrcNode(const NodeHandle& srcNode);
2023  virtual NodeHandle& getSrcRoute();
2024  virtual const NodeHandle& getSrcRoute() const {return const_cast<OverlayCtrlInfo*>(this)->getSrcRoute();}
2025  virtual void setSrcRoute(const NodeHandle& srcRoute);
2026  virtual int getHopCount() const;
2027  virtual void setHopCount(int hopCount);
2028  virtual void setVisitedHopsArraySize(unsigned int size);
2029  virtual unsigned int getVisitedHopsArraySize() const;
2030  virtual TransportAddress& getVisitedHops(unsigned int k);
2031  virtual const TransportAddress& getVisitedHops(unsigned int k) const {return const_cast<OverlayCtrlInfo*>(this)->getVisitedHops(k);}
2032  virtual void setVisitedHops(unsigned int k, const TransportAddress& visitedHops);
2033  virtual int getSrcComp() const;
2034  virtual void setSrcComp(int srcComp);
2035  virtual int getDestComp() const;
2036  virtual void setDestComp(int destComp);
2037  virtual int getTransportType() const;
2038  virtual void setTransportType(int transportType);
2039  virtual int getRoutingType() const;
2040  virtual void setRoutingType(int routingType);
2041 };
2042 
2043 inline void doPacking(cCommBuffer *b, OverlayCtrlInfo& obj) {obj.parsimPack(b);}
2044 inline void doUnpacking(cCommBuffer *b, OverlayCtrlInfo& obj) {obj.parsimUnpack(b);}
2045 
2055 class BinaryValueArray : public ::cObject
2056 {
2057  protected:
2058  BinaryValue *values_var; // array ptr
2060 
2061  private:
2062  void copy(const BinaryValueArray& other);
2063 
2064  protected:
2065  // protected and unimplemented operator==(), to prevent accidental usage
2066  bool operator==(const BinaryValueArray&);
2067 
2068  public:
2069  BinaryValueArray();
2070  BinaryValueArray(const BinaryValueArray& other);
2071  virtual ~BinaryValueArray();
2073  virtual BinaryValueArray *dup() const {return new BinaryValueArray(*this);}
2074  virtual void parsimPack(cCommBuffer *b);
2075  virtual void parsimUnpack(cCommBuffer *b);
2076 
2077  // field getter/setter methods
2078  virtual void setValuesArraySize(uint16_t size);
2079  virtual uint16_t getValuesArraySize() const;
2080  virtual BinaryValue& getValues(uint16_t k);
2081  virtual const BinaryValue& getValues(uint16_t k) const {return const_cast<BinaryValueArray*>(this)->getValues(k);}
2082  virtual void setValues(uint16_t k, const BinaryValue& values);
2083 };
2084 
2085 inline void doPacking(cCommBuffer *b, BinaryValueArray& obj) {obj.parsimPack(b);}
2086 inline void doUnpacking(cCommBuffer *b, BinaryValueArray& obj) {obj.parsimUnpack(b);}
2087 
2097 class ALMMessage : public ::cPacket
2098 {
2099  protected:
2101 
2102  private:
2103  void copy(const ALMMessage& other);
2104 
2105  protected:
2106  // protected and unimplemented operator==(), to prevent accidental usage
2107  bool operator==(const ALMMessage&);
2108 
2109  public:
2110  ALMMessage(const char *name=NULL, int kind=0);
2111  ALMMessage(const ALMMessage& other);
2112  virtual ~ALMMessage();
2113  ALMMessage& operator=(const ALMMessage& other);
2114  virtual ALMMessage *dup() const {return new ALMMessage(*this);}
2115  virtual void parsimPack(cCommBuffer *b);
2116  virtual void parsimUnpack(cCommBuffer *b);
2117 
2118  // field getter/setter methods
2119  virtual OverlayKey& getGroupId();
2120  virtual const OverlayKey& getGroupId() const {return const_cast<ALMMessage*>(this)->getGroupId();}
2121  virtual void setGroupId(const OverlayKey& groupId);
2122 };
2123 
2124 inline void doPacking(cCommBuffer *b, ALMMessage& obj) {obj.parsimPack(b);}
2125 inline void doUnpacking(cCommBuffer *b, ALMMessage& obj) {obj.parsimUnpack(b);}
2126 
2136 {
2137  protected:
2138 
2139  private:
2140  void copy(const ALMCreateMessage& other);
2141 
2142  protected:
2143  // protected and unimplemented operator==(), to prevent accidental usage
2144  bool operator==(const ALMCreateMessage&);
2145 
2146  public:
2147  ALMCreateMessage(const char *name=NULL, int kind=0);
2148  ALMCreateMessage(const ALMCreateMessage& other);
2149  virtual ~ALMCreateMessage();
2151  virtual ALMCreateMessage *dup() const {return new ALMCreateMessage(*this);}
2152  virtual void parsimPack(cCommBuffer *b);
2153  virtual void parsimUnpack(cCommBuffer *b);
2154 
2155  // field getter/setter methods
2156 };
2157 
2158 inline void doPacking(cCommBuffer *b, ALMCreateMessage& obj) {obj.parsimPack(b);}
2159 inline void doUnpacking(cCommBuffer *b, ALMCreateMessage& obj) {obj.parsimUnpack(b);}
2160 
2170 {
2171  protected:
2172 
2173  private:
2174  void copy(const ALMDeleteMessage& other);
2175 
2176  protected:
2177  // protected and unimplemented operator==(), to prevent accidental usage
2178  bool operator==(const ALMDeleteMessage&);
2179 
2180  public:
2181  ALMDeleteMessage(const char *name=NULL, int kind=0);
2182  ALMDeleteMessage(const ALMDeleteMessage& other);
2183  virtual ~ALMDeleteMessage();
2185  virtual ALMDeleteMessage *dup() const {return new ALMDeleteMessage(*this);}
2186  virtual void parsimPack(cCommBuffer *b);
2187  virtual void parsimUnpack(cCommBuffer *b);
2188 
2189  // field getter/setter methods
2190 };
2191 
2192 inline void doPacking(cCommBuffer *b, ALMDeleteMessage& obj) {obj.parsimPack(b);}
2193 inline void doUnpacking(cCommBuffer *b, ALMDeleteMessage& obj) {obj.parsimUnpack(b);}
2194 
2204 {
2205  protected:
2206 
2207  private:
2208  void copy(const ALMSubscribeMessage& other);
2209 
2210  protected:
2211  // protected and unimplemented operator==(), to prevent accidental usage
2212  bool operator==(const ALMSubscribeMessage&);
2213 
2214  public:
2215  ALMSubscribeMessage(const char *name=NULL, int kind=0);
2217  virtual ~ALMSubscribeMessage();
2219  virtual ALMSubscribeMessage *dup() const {return new ALMSubscribeMessage(*this);}
2220  virtual void parsimPack(cCommBuffer *b);
2221  virtual void parsimUnpack(cCommBuffer *b);
2222 
2223  // field getter/setter methods
2224 };
2225 
2226 inline void doPacking(cCommBuffer *b, ALMSubscribeMessage& obj) {obj.parsimPack(b);}
2227 inline void doUnpacking(cCommBuffer *b, ALMSubscribeMessage& obj) {obj.parsimUnpack(b);}
2228 
2238 {
2239  protected:
2240 
2241  private:
2242  void copy(const ALMLeaveMessage& other);
2243 
2244  protected:
2245  // protected and unimplemented operator==(), to prevent accidental usage
2246  bool operator==(const ALMLeaveMessage&);
2247 
2248  public:
2249  ALMLeaveMessage(const char *name=NULL, int kind=0);
2250  ALMLeaveMessage(const ALMLeaveMessage& other);
2251  virtual ~ALMLeaveMessage();
2252  ALMLeaveMessage& operator=(const ALMLeaveMessage& other);
2253  virtual ALMLeaveMessage *dup() const {return new ALMLeaveMessage(*this);}
2254  virtual void parsimPack(cCommBuffer *b);
2255  virtual void parsimUnpack(cCommBuffer *b);
2256 
2257  // field getter/setter methods
2258 };
2259 
2260 inline void doPacking(cCommBuffer *b, ALMLeaveMessage& obj) {obj.parsimPack(b);}
2261 inline void doUnpacking(cCommBuffer *b, ALMLeaveMessage& obj) {obj.parsimUnpack(b);}
2262 
2272 {
2273  protected:
2274 
2275  private:
2276  void copy(const ALMMulticastMessage& other);
2277 
2278  protected:
2279  // protected and unimplemented operator==(), to prevent accidental usage
2280  bool operator==(const ALMMulticastMessage&);
2281 
2282  public:
2283  ALMMulticastMessage(const char *name=NULL, int kind=0);
2285  virtual ~ALMMulticastMessage();
2287  virtual ALMMulticastMessage *dup() const {return new ALMMulticastMessage(*this);}
2288  virtual void parsimPack(cCommBuffer *b);
2289  virtual void parsimUnpack(cCommBuffer *b);
2290 
2291  // field getter/setter methods
2292 };
2293 
2294 inline void doPacking(cCommBuffer *b, ALMMulticastMessage& obj) {obj.parsimPack(b);}
2295 inline void doUnpacking(cCommBuffer *b, ALMMulticastMessage& obj) {obj.parsimUnpack(b);}
2296 
2306 {
2307  protected:
2308 
2309  private:
2310  void copy(const ALMAnycastMessage& other);
2311 
2312  protected:
2313  // protected and unimplemented operator==(), to prevent accidental usage
2314  bool operator==(const ALMAnycastMessage&);
2315 
2316  public:
2317  ALMAnycastMessage(const char *name=NULL, int kind=0);
2318  ALMAnycastMessage(const ALMAnycastMessage& other);
2319  virtual ~ALMAnycastMessage();
2321  virtual ALMAnycastMessage *dup() const {return new ALMAnycastMessage(*this);}
2322  virtual void parsimPack(cCommBuffer *b);
2323  virtual void parsimUnpack(cCommBuffer *b);
2324 
2325  // field getter/setter methods
2326 };
2327 
2328 inline void doPacking(cCommBuffer *b, ALMAnycastMessage& obj) {obj.parsimPack(b);}
2329 inline void doUnpacking(cCommBuffer *b, ALMAnycastMessage& obj) {obj.parsimUnpack(b);}
2330 
2341 {
2342  protected:
2344 
2345  private:
2346  void copy(const GameAPIMessage& other);
2347 
2348  protected:
2349  // protected and unimplemented operator==(), to prevent accidental usage
2350  bool operator==(const GameAPIMessage&);
2351 
2352  public:
2353  GameAPIMessage(const char *name=NULL, int kind=0);
2354  GameAPIMessage(const GameAPIMessage& other);
2355  virtual ~GameAPIMessage();
2356  GameAPIMessage& operator=(const GameAPIMessage& other);
2357  virtual GameAPIMessage *dup() const {return new GameAPIMessage(*this);}
2358  virtual void parsimPack(cCommBuffer *b);
2359  virtual void parsimUnpack(cCommBuffer *b);
2360 
2361  // field getter/setter methods
2362  virtual int getCommand() const;
2363  virtual void setCommand(int command);
2364 };
2365 
2366 inline void doPacking(cCommBuffer *b, GameAPIMessage& obj) {obj.parsimPack(b);}
2367 inline void doUnpacking(cCommBuffer *b, GameAPIMessage& obj) {obj.parsimUnpack(b);}
2368 
2381 {
2382  protected:
2389 
2390  private:
2391  void copy(const GameAPIListMessage& other);
2392 
2393  protected:
2394  // protected and unimplemented operator==(), to prevent accidental usage
2395  bool operator==(const GameAPIListMessage&);
2396 
2397  public:
2398  GameAPIListMessage(const char *name=NULL, int kind=0);
2399  GameAPIListMessage(const GameAPIListMessage& other);
2400  virtual ~GameAPIListMessage();
2402  virtual GameAPIListMessage *dup() const {return new GameAPIListMessage(*this);}
2403  virtual void parsimPack(cCommBuffer *b);
2404  virtual void parsimUnpack(cCommBuffer *b);
2405 
2406  // field getter/setter methods
2407  virtual void setRemoveNeighborArraySize(unsigned int size);
2408  virtual unsigned int getRemoveNeighborArraySize() const;
2409  virtual NodeHandle& getRemoveNeighbor(unsigned int k);
2410  virtual const NodeHandle& getRemoveNeighbor(unsigned int k) const {return const_cast<GameAPIListMessage*>(this)->getRemoveNeighbor(k);}
2411  virtual void setRemoveNeighbor(unsigned int k, const NodeHandle& removeNeighbor);
2412  virtual void setAddNeighborArraySize(unsigned int size);
2413  virtual unsigned int getAddNeighborArraySize() const;
2414  virtual NodeHandle& getAddNeighbor(unsigned int k);
2415  virtual const NodeHandle& getAddNeighbor(unsigned int k) const {return const_cast<GameAPIListMessage*>(this)->getAddNeighbor(k);}
2416  virtual void setAddNeighbor(unsigned int k, const NodeHandle& addNeighbor);
2417  virtual void setNeighborPositionArraySize(unsigned int size);
2418  virtual unsigned int getNeighborPositionArraySize() const;
2419  virtual Vector2D& getNeighborPosition(unsigned int k);
2420  virtual const Vector2D& getNeighborPosition(unsigned int k) const {return const_cast<GameAPIListMessage*>(this)->getNeighborPosition(k);}
2421  virtual void setNeighborPosition(unsigned int k, const Vector2D& neighborPosition);
2422 };
2423 
2424 inline void doPacking(cCommBuffer *b, GameAPIListMessage& obj) {obj.parsimPack(b);}
2425 inline void doUnpacking(cCommBuffer *b, GameAPIListMessage& obj) {obj.parsimUnpack(b);}
2426 
2437 {
2438  protected:
2440 
2441  private:
2442  void copy(const GameAPIPositionMessage& other);
2443 
2444  protected:
2445  // protected and unimplemented operator==(), to prevent accidental usage
2446  bool operator==(const GameAPIPositionMessage&);
2447 
2448  public:
2449  GameAPIPositionMessage(const char *name=NULL, int kind=0);
2451  virtual ~GameAPIPositionMessage();
2453  virtual GameAPIPositionMessage *dup() const {return new GameAPIPositionMessage(*this);}
2454  virtual void parsimPack(cCommBuffer *b);
2455  virtual void parsimUnpack(cCommBuffer *b);
2456 
2457  // field getter/setter methods
2458  virtual Vector2D& getPosition();
2459  virtual const Vector2D& getPosition() const {return const_cast<GameAPIPositionMessage*>(this)->getPosition();}
2460  virtual void setPosition(const Vector2D& position);
2461 };
2462 
2463 inline void doPacking(cCommBuffer *b, GameAPIPositionMessage& obj) {obj.parsimPack(b);}
2464 inline void doUnpacking(cCommBuffer *b, GameAPIPositionMessage& obj) {obj.parsimUnpack(b);}
2465 
2476 {
2477  protected:
2478  double AOIsize_var;
2479 
2480  private:
2481  void copy(const GameAPIResizeAOIMessage& other);
2482 
2483  protected:
2484  // protected and unimplemented operator==(), to prevent accidental usage
2485  bool operator==(const GameAPIResizeAOIMessage&);
2486 
2487  public:
2488  GameAPIResizeAOIMessage(const char *name=NULL, int kind=0);
2490  virtual ~GameAPIResizeAOIMessage();
2492  virtual GameAPIResizeAOIMessage *dup() const {return new GameAPIResizeAOIMessage(*this);}
2493  virtual void parsimPack(cCommBuffer *b);
2494  virtual void parsimUnpack(cCommBuffer *b);
2495 
2496  // field getter/setter methods
2497  virtual double getAOIsize() const;
2498  virtual void setAOIsize(double AOIsize);
2499 };
2500 
2501 inline void doPacking(cCommBuffer *b, GameAPIResizeAOIMessage& obj) {obj.parsimPack(b);}
2502 inline void doUnpacking(cCommBuffer *b, GameAPIResizeAOIMessage& obj) {obj.parsimUnpack(b);}
2503 
2515 {
2516  protected:
2518  opp_string msg_var;
2519 
2520  private:
2521  void copy(const GameAPIChatMessage& other);
2522 
2523  protected:
2524  // protected and unimplemented operator==(), to prevent accidental usage
2525  bool operator==(const GameAPIChatMessage&);
2526 
2527  public:
2528  GameAPIChatMessage(const char *name=NULL, int kind=0);
2529  GameAPIChatMessage(const GameAPIChatMessage& other);
2530  virtual ~GameAPIChatMessage();
2532  virtual GameAPIChatMessage *dup() const {return new GameAPIChatMessage(*this);}
2533  virtual void parsimPack(cCommBuffer *b);
2534  virtual void parsimUnpack(cCommBuffer *b);
2535 
2536  // field getter/setter methods
2537  virtual NodeHandle& getSrc();
2538  virtual const NodeHandle& getSrc() const {return const_cast<GameAPIChatMessage*>(this)->getSrc();}
2539  virtual void setSrc(const NodeHandle& src);
2540  virtual const char * getMsg() const;
2541  virtual void setMsg(const char * msg);
2542 };
2543 
2544 inline void doPacking(cCommBuffer *b, GameAPIChatMessage& obj) {obj.parsimPack(b);}
2545 inline void doUnpacking(cCommBuffer *b, GameAPIChatMessage& obj) {obj.parsimUnpack(b);}
2546 
2561 {
2562  protected:
2568 
2569  private:
2570  void copy(const GameAPISnowMessage& other);
2571 
2572  protected:
2573  // protected and unimplemented operator==(), to prevent accidental usage
2574  bool operator==(const GameAPISnowMessage&);
2575 
2576  public:
2577  GameAPISnowMessage(const char *name=NULL, int kind=0);
2578  GameAPISnowMessage(const GameAPISnowMessage& other);
2579  virtual ~GameAPISnowMessage();
2581  virtual GameAPISnowMessage *dup() const {return new GameAPISnowMessage(*this);}
2582  virtual void parsimPack(cCommBuffer *b);
2583  virtual void parsimUnpack(cCommBuffer *b);
2584 
2585  // field getter/setter methods
2586  virtual NodeHandle& getSrc();
2587  virtual const NodeHandle& getSrc() const {return const_cast<GameAPISnowMessage*>(this)->getSrc();}
2588  virtual void setSrc(const NodeHandle& src);
2589  virtual Vector2D& getStart();
2590  virtual const Vector2D& getStart() const {return const_cast<GameAPISnowMessage*>(this)->getStart();}
2591  virtual void setStart(const Vector2D& start);
2592  virtual Vector2D& getEnd();
2593  virtual const Vector2D& getEnd() const {return const_cast<GameAPISnowMessage*>(this)->getEnd();}
2594  virtual void setEnd(const Vector2D& end);
2595  virtual int getTimeSec() const;
2596  virtual void setTimeSec(int timeSec);
2597  virtual int getTimeUsec() const;
2598  virtual void setTimeUsec(int timeUsec);
2599 };
2600 
2601 inline void doPacking(cCommBuffer *b, GameAPISnowMessage& obj) {obj.parsimPack(b);}
2602 inline void doUnpacking(cCommBuffer *b, GameAPISnowMessage& obj) {obj.parsimUnpack(b);}
2603 
2617 {
2618  protected:
2623 
2624  private:
2625  void copy(const GameAPIFrozenMessage& other);
2626 
2627  protected:
2628  // protected and unimplemented operator==(), to prevent accidental usage
2629  bool operator==(const GameAPIFrozenMessage&);
2630 
2631  public:
2632  GameAPIFrozenMessage(const char *name=NULL, int kind=0);
2634  virtual ~GameAPIFrozenMessage();
2636  virtual GameAPIFrozenMessage *dup() const {return new GameAPIFrozenMessage(*this);}
2637  virtual void parsimPack(cCommBuffer *b);
2638  virtual void parsimUnpack(cCommBuffer *b);
2639 
2640  // field getter/setter methods
2641  virtual NodeHandle& getSrc();
2642  virtual const NodeHandle& getSrc() const {return const_cast<GameAPIFrozenMessage*>(this)->getSrc();}
2643  virtual void setSrc(const NodeHandle& src);
2644  virtual int getThrower() const;
2645  virtual void setThrower(int thrower);
2646  virtual int getTimeSec() const;
2647  virtual void setTimeSec(int timeSec);
2648  virtual int getTimeUsec() const;
2649  virtual void setTimeUsec(int timeUsec);
2650 };
2651 
2652 inline void doPacking(cCommBuffer *b, GameAPIFrozenMessage& obj) {obj.parsimPack(b);}
2653 inline void doUnpacking(cCommBuffer *b, GameAPIFrozenMessage& obj) {obj.parsimUnpack(b);}
2654 
2655 
2656 #endif // _COMMONMESSAGES_M_H_