Messages could be used to communicate in application & overlay layers as well for RPC communication. A message file could contain one or more messages and end with .msg. Relevant header & source files will be automatically generated when you compile.
All messages are inherited from cMessage class &
All messages are inherited from cMessage class &
- RPC calls - inherited from BaseCallMessage class. Message name must end with word 'Call', e.g., MyRPCCall
- packet MyRPCCall extends BaseCallMessage
- RPC responce - inherited from BaseResponseMessage classes. Message name must end with word "Response', e.g., MyRPCResponce
Comments