Message exchanged through the NetAccess layer are serialized into binary stream with a specifical protocol.

To explain it, we will follow a simple message during all the process.
Our message is created as follow :
var message = new NetworkMessage("ChatMessage", "john.doe", "Hello everybody on chan. What's up?");

Foremost the network layer will encapsulate it into an InternalMessage. InternalMessage is an object similar to NetworkMessage but intended to being used only by the library. Each InternalMessage is flag with an InternalMessageIdentifer (enum) to specify message purpose.

Last edited Aug 11, 2011 at 10:03 AM by wizad, version 1


No comments yet.