0.15.2 • Published 8 years ago

noradle-protocol v0.15.2

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago
+----------------------------------+
|  slotID        | fType | flags  |
+----------------------------------+
|           Length (32 bits)       |
+----------------------------------+
|               Data               |
+----------------------------------+

SlotID = 0 denote control frame.

  • slotID
    • for client to dispatcher: slotID is cSlotID, denote which client access path slot used to send frames
    • for dispatcher to oracle: slotID is oSlotID, denote which server process slot used to send frames
    • SlotID = 0 denote control frame
  • fType is frame Type, such as:
    • head frame: denote begining of a request
    • body frame: denote end of a request or response
  • Length is the byte length for Data.
  • Data is payload