Difference between revisions of "NetMsgTypes"

From BRL-CAD
(headline fixes and spacing.)
(Update MsgType chart with accurate info.)
Line 16: Line 16:
 
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:
 
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:
 
<br /><br />
 
<br /><br />
'''NOTE:'''  This list is not up-to-date as of 1.25.11
+
'''NOTE:'''  This list *is* up-to-date as of 2.9.11
 
<br /><br />
 
<br /><br />
 
'''TODO:'''  Replace this with Doxy files
 
'''TODO:'''  Replace this with Doxy files
Line 23: Line 23:
 
{|style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #666699; padding: 0;"
 
{|style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #666699; padding: 0;"
 
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 90px;"|'''MsgType ID'''
 
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 90px;"|'''MsgType ID'''
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 90px;"|'''Name'''
+
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 200px;"|'''Name'''
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF;"|'''Description'''
+
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 180px;"|'''Parent Class'''
 +
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF;"|'''Additional Info'''
 +
|-
 +
|style="border: 1px solid #666699;"|0x0042
 +
|style="border: 1px solid #666699;"|RUALIVE
 +
|style="border: 1px solid #666699;"|[[TypeOnlyMsg]]
 +
|style="border: 1px solid #666699;"|
 +
|-
 +
|style="border: 1px solid #666699;"|0x0043
 +
|style="border: 1px solid #666699;"|IMALIVE
 +
|style="border: 1px solid #666699;"|[[TypeOnlyMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0050
 
|style="border: 1px solid #666699;"|0x0050
|style="border: 1px solid #666699;"|[[Failure]]
+
|style="border: 1px solid #666699;"|Failure
|style="border: 1px solid #666699;"|Uses [[GenericOneByteMsg|Generic One Byte Msg]].
+
|style="border: 1px solid #666699;"|[[GenericOneByteMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0051
 
|style="border: 1px solid #666699;"|0x0051
|style="border: 1px solid #666699;"|[[Success]]
+
|style="border: 1px solid #666699;"|Success
|style="border: 1px solid #666699;"|Uses [[GenericOneByteMsg|Generic One Byte Msg]].
+
|style="border: 1px solid #666699;"|[[GenericOneByteMsg]]
 +
|style="border: 1px solid #666699;"|
 +
|-
 +
|style="border: 1px solid #666699;"|0x0060
 +
|style="border: 1px solid #666699;"|PING
 +
|style="border: 1px solid #666699;"|[[GenericEightByteMsg]]
 +
|style="border: 1px solid #666699;"|
 +
|-
 +
|style="border: 1px solid #666699;"|0x0061
 +
|style="border: 1px solid #666699;"|PONG
 +
|style="border: 1px solid #666699;"|[[GenericEightByteMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0100
 
|style="border: 1px solid #666699;"|0x0100
|style="border: 1px solid #666699;"|[[RemHostNameSET]]
+
|style="border: 1px solid #666699;"|GS Remote Nodename Set
|style="border: 1px solid #666699;"|Uses [[GenericOneStringMsg|Generic One String Msg]].
+
|style="border: 1px solid #666699;"|[[GenericOneStringMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0150
 
|style="border: 1px solid #666699;"|0x0150
|style="border: 1px solid #666699;"|[[DisconnectREQ]]
+
|style="border: 1px solid #666699;"|Disconnect Request
|style="border: 1px solid #666699;"|"MsgType Only" NetMsg and has no body.
+
|style="border: 1px solid #666699;"|[[TypeOnlyMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0200
 
|style="border: 1px solid #666699;"|0x0200
|style="border: 1px solid #666699;"|[[NewHostOnNet]]
+
|style="border: 1px solid #666699;"|New Node on Network
|style="border: 1px solid #666699;"|Uses [[GenericOneStringMsg|Generic One String Msg]].
+
|style="border: 1px solid #666699;"|[[GenericOneStringMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0250
 
|style="border: 1px solid #666699;"|0x0250
|style="border: 1px solid #666699;"|[[FullHostListREQ]]*
+
|style="border: 1px solid #666699;"|Full Nodename List Request
 +
|style="border: 1px solid #666699;"|
 
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
 
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0255
 
|style="border: 1px solid #666699;"|0x0255
|style="border: 1px solid #666699;"|[[FullHostList]]*
+
|style="border: 1px solid #666699;"|Full Nodename List
 +
|style="border: 1px solid #666699;"|
 
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
 
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0300
 
|style="border: 1px solid #666699;"|0x0300
|style="border: 1px solid #666699;"|[[NewSessionREQ]]*
+
|style="border: 1px solid #666699;"|[[NewSessionReqMsg|New Session Request]]
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
+
|style="border: 1px solid #666699;"|[[NetMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0305
 
|style="border: 1px solid #666699;"|0x0305
|style="border: 1px solid #666699;"|[[NewSession]]*
+
|style="border: 1px solid #666699;"|[[SessionInfoMsg|Session Information]]
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
+
|style="border: 1px solid #666699;"|[[NetMsg]]
|-
+
|style="border: 1px solid #666699;"|
|style="border: 1px solid #666699;"|0x0310
 
|style="border: 1px solid #666699;"|[[LogoutSession]]
 
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
 
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0400
 
|style="border: 1px solid #666699;"|0x0400
|style="border: 1px solid #666699;"|[[GeometryREQ]]
+
|style="border: 1px solid #666699;"|[[GeometryReqMsg|Geoemtry Request]]
|style="border: 1px solid #666699;"|Uses [[GenericOneStringMsg|Generic One String Msg]] in addition to custom fields.
+
|style="border: 1px solid #666699;"|[[GenericOneStringMsg]]
 +
|style="border: 1px solid #666699;"|Has additional custom fields.
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0405
 
|style="border: 1px solid #666699;"|0x0405
|style="border: 1px solid #666699;"|[[GeometryMANIFEST]]
+
|style="border: 1px solid #666699;"|[[GeometryManifestMsg|Geometry Manifest]]
|style="border: 1px solid #666699;"|'''''Not Implemented Yet'''
+
|style="border: 1px solid #666699;"|[[NetMsg]]
 +
|style="border: 1px solid #666699;"|
 
|-
 
|-
 
|style="border: 1px solid #666699;"|0x0410
 
|style="border: 1px solid #666699;"|0x0410
|style="border: 1px solid #666699;"|[[GeometryCHUNK]]
+
|style="border: 1px solid #666699;"|[[GeometryChunkMsg|Geometry Chunk]]
|style="border: 1px solid #666699;"|Uses [[GenericMultiByteMsg|Generic Multi Byte Msg]].
+
|style="border: 1px solid #666699;"|[[GenericMultiByteMsg]]
 +
|style="border: 1px solid #666699;"|
 
|}
 
|}

Revision as of 12:07, 9 February 2011


NetMsg Generic Templates


The GSNet Protocol provides several Template classes to be used or extended from.


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:

NOTE: This list *is* up-to-date as of 2.9.11

TODO: Replace this with Doxy files

MsgType ID Name Parent Class Additional Info
0x0042 RUALIVE TypeOnlyMsg
0x0043 IMALIVE TypeOnlyMsg
0x0050 Failure GenericOneByteMsg
0x0051 Success GenericOneByteMsg
0x0060 PING GenericEightByteMsg
0x0061 PONG GenericEightByteMsg
0x0100 GS Remote Nodename Set GenericOneStringMsg
0x0150 Disconnect Request TypeOnlyMsg
0x0200 New Node on Network GenericOneStringMsg
0x0250 Full Nodename List Request Not Implemented Yet
0x0255 Full Nodename List Not Implemented Yet
0x0300 New Session Request NetMsg
0x0305 Session Information NetMsg
0x0400 Geoemtry Request GenericOneStringMsg Has additional custom fields.
0x0405 Geometry Manifest NetMsg
0x0410 Geometry Chunk GenericMultiByteMsg