Message :: Code

01 Serializes the Message object.
02

[C++] virtual void Code(Coder &coder);
[C#] virtual void Code(Coder coder);

03 Parameters:
  • coder: Reference to a Coder implementation (either Encoder or Decoder).
04 Binary description:
VTypeDataReq
1Int32mReferenceId
1boolisReplymReplyid != 0
1Int32mReplyIdisReply
1ArchAddressmSrc
1ArchAddressmDest
05 Note that the type identification is not serialized. This is simply because the message object that performs serialization already knows what it is.
06 In other words, the code that requests to encode a message has to provide a way to notify the decoding code about the message type that follows.
The decoding code then uses the MessageCreatorRegistry to create an object according to the given type.
07 Reference: net::semys
Implementation: Semys Architecture
See Also: Message Sub-System, Message

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.