Project

General

Profile

Protocols » History » Revision 4

Revision 3 (Greg Burri, 11/03/2009 05:19 PM) → Revision 4/26 (Greg Burri, 11/03/2009 05:20 PM)

h1. Protocols 

 * [[Protocol core-core]] 
 * [[Protocol core-GUI]] 

 There is two main protocols, one between cores and one between GUI and core. Both used "protocol buffers":http://code.google.com/p/protobuf/ for describing the exchanged messages. 

 Each data sent over the network are formatted like this : 

 <pre> 
 <messageType:uint32><size:uint32><serializedMessage> 
 </pre> 

 Where : 
 * _messageType_ is a number which determine the message type, more information in the proto files. 
 * _size_ is the size of the following serialized message. 
 * _serializedMessage_ is the data serialized by protocol buffer. 

 


 * [[Protocol core-core]] 
 * [[Protocol core-GUI]]