Difference between revisions of "NetMsgTypes"

(NetMsg MsgTypes)
Line 32: Line 32:
 
   
 
   
 
{|
 
{|
!width="55" align="center"|MsgType
+
!width="55" align="center"|MsgTypeID
 
!Description
 
!Description
 
|-
 
|-
Line 39: Line 39:
 
|-
 
|-
 
|align="center"|5
 
|align="center"|5
 +
|[[Success]]
 +
|-
 +
|align="center"|100
 
|[[RemHostNameSET]]
 
|[[RemHostNameSET]]
 
|-
 
|-
|align="center"|10
+
|align="center"|150
|[[RemHostNameSETOK]]
+
|-
+
|align="center"|15
+
 
|[[DisconnectREQ]]
 
|[[DisconnectREQ]]
 
|-
 
|-
|align="center"|20
+
|align="center"|200
 
|[[NewHostOnNetINFO]]
 
|[[NewHostOnNetINFO]]
 
|-
 
|-
|align="center"|25
+
|align="center"|250
 
|[[FullHostListREQ]]
 
|[[FullHostListREQ]]
 
|-
 
|-
|align="center"|30
+
|align="center"|255
|[[FullHostListREQFAIL]]
+
|[[FullHostList]]
 
|-
 
|-
|align="center"|35
+
|align="center"|300
|[[FullHostListREQOK]]
+
|-
+
|align="center"|40
+
 
|[[NewSessionREQ]]
 
|[[NewSessionREQ]]
 
|-
 
|-
|align="center"|45
+
|align="center"|305
|[[NewSessionREQFAIL]]
+
|[[NewSession]]
 
|-
 
|-
|align="center"|50
+
|align="center"|400
|[[NewSessionREQOK]]
+
|-
+
|align="center"|100
+
 
|[[GeometryREQ]]
 
|[[GeometryREQ]]
 
|-
 
|-
|align="center"|105
+
|align="center"|405
|[[GeometryREQFAIL]]
+
|-
+
|align="center"|110
+
 
|[[GeometryMANIFEST]]
 
|[[GeometryMANIFEST]]
 
|-
 
|-
|align="center"|115
+
|align="center"|410
 
|[[GeometryCHUNK]]
 
|[[GeometryCHUNK]]
 
|}
 
|}

Revision as of 13:18, 25 November 2009

Design icon.png This page contains the design document for an enhancement or feature. The design should be considered a work in progress and may not represent the final design. As this is a collaborative design, contributions and participation from other developers and users is encouraged. Use the discussion page for providing comments and suggestions.


Common Header Byte Format

All NetMsgs will contain a uniform header:


Element Length
MessageLength int32 (4 bytes)
MsgType int32 (4 bytes)
MessageUUID String (Variable bytes)
HasRegardingUUID Boolean (1 byte)
RegardingMessageUUID String (Variable bytes)

NetMsg MsgTypes

Some NetMsgs will need to have custom bodies. Here is a list of NetMsgs, their related MsgTypes, and links to details on that specific NetMsg:


MsgTypeID Description
0 Failure
5 Success
100 RemHostNameSET
150 DisconnectREQ
200 NewHostOnNetINFO
250 FullHostListREQ
255 FullHostList
300 NewSessionREQ
305 NewSession
400 GeometryREQ
405 GeometryMANIFEST
410 GeometryCHUNK