Difference between revisions of "NetMsgTypes"
From BRL-CAD
(fix link) |
(add more info) |
||
Line 32: | Line 32: | ||
|style="border: 1px solid #666699;"|RUALIVE | |style="border: 1px solid #666699;"|RUALIVE | ||
|style="border: 1px solid #666699;"|[[TypeOnlyMsg]] | |style="border: 1px solid #666699;"|[[TypeOnlyMsg]] | ||
− | |style="border: 1px solid #666699;"| | + | |style="border: 1px solid #666699;"|Ping without time info (necessary?) |
|- | |- | ||
|style="border: 1px solid #666699;"|0x0043 | |style="border: 1px solid #666699;"|0x0043 | ||
|style="border: 1px solid #666699;"|IMALIVE | |style="border: 1px solid #666699;"|IMALIVE | ||
|style="border: 1px solid #666699;"|[[TypeOnlyMsg]] | |style="border: 1px solid #666699;"|[[TypeOnlyMsg]] | ||
− | |style="border: 1px solid #666699;"| | + | |style="border: 1px solid #666699;"|Pong without time info (necessary?) |
|- | |- | ||
|style="border: 1px solid #666699;"|0x0050 | |style="border: 1px solid #666699;"|0x0050 | ||
Line 57: | Line 57: | ||
|style="border: 1px solid #666699;"|PONG | |style="border: 1px solid #666699;"|PONG | ||
|style="border: 1px solid #666699;"|[[GenericEightByteMsg]] | |style="border: 1px solid #666699;"|[[GenericEightByteMsg]] | ||
− | |style="border: 1px solid #666699;"|8 byte time stamp for start time | + | |style="border: 1px solid #666699;"|8 byte time stamp for start time, dup of the ping value |
|- | |- | ||
|style="border: 1px solid #666699;"|0x0100 | |style="border: 1px solid #666699;"|0x0100 | ||
Line 102: | Line 102: | ||
|style="border: 1px solid #666699;"|[[GeometryManifestMsg|Geometry Manifest]] | |style="border: 1px solid #666699;"|[[GeometryManifestMsg|Geometry Manifest]] | ||
|style="border: 1px solid #666699;"|[[NetMsg]] | |style="border: 1px solid #666699;"|[[NetMsg]] | ||
− | |style="border: 1px solid #666699;"| | + | |style="border: 1px solid #666699;"|uint32 n followed by n GSStrings. List of 'object' names about to be received as chunks. ReUUID is the associated GeometryReqMsg UUID. |
|- | |- | ||
|style="border: 1px solid #666699;"|0x0410 | |style="border: 1px solid #666699;"|0x0410 | ||
|style="border: 1px solid #666699;"|[[GeometryChunkMsg|Geometry Chunk]] | |style="border: 1px solid #666699;"|[[GeometryChunkMsg|Geometry Chunk]] | ||
|style="border: 1px solid #666699;"|[[GenericMultiByteMsg]] | |style="border: 1px solid #666699;"|[[GenericMultiByteMsg]] | ||
− | |style="border: 1px solid #666699;"| | + | |style="border: 1px solid #666699;"|Raw .g information. Chunks can be written to a file to produce a viable V5 .g db. ReUUID is the associated GeometryReqMsg UUID. |
|} | |} |
Revision as of 14:22, 30 March 2011
NetMsg Generic Templates
The GSNet API provides several Template classes to be used or extended from.
- Generic One Byte Msg
- Generic Two Byte Msg
- Generic Four Byte Msg
- Generic Eight Byte Msg
- Generic Multi Byte Msg
- Generic One String Msg
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 *NOT* up-to-date as of 3.25.11
TODO: Replace this with Doxy files
MsgType ID | Name | Parent Class | Additional Info |
0x0042 | RUALIVE | TypeOnlyMsg | Ping without time info (necessary?) |
0x0043 | IMALIVE | TypeOnlyMsg | Pong without time info (necessary?) |
0x0050 | Failure | GenericOneByteMsg | 1 byte 'error code' |
0x0051 | Success | GenericOneByteMsg | 1 byte 'success code' |
0x0060 | PING | GenericEightByteMsg | 8 byte time stamp for start time |
0x0062 | PONG | GenericEightByteMsg | 8 byte time stamp for start time, dup of the ping value |
0x0100 | GS Remote Nodename Set | GenericOneStringMsg | String is the Nodename |
0x0150 | Disconnect Request | TypeOnlyMsg | |
0x0200 | New Node on Network | GenericOneStringMsg | String is the Nodename |
0x0250 | Full Nodename List Request | Not Implemented Yet | |
0x0255 | Full Nodename List | Not Implemented Yet | |
0x0300 | New Session Request | NetMsg | Two strings, username and password |
0x0305 | Session Information | NetMsg | One string, the session UUID |
0x0400 | Geometry Request | GenericOneStringMsg | Has additional custom fields. |
0x0405 | Geometry Manifest | NetMsg | uint32 n followed by n GSStrings. List of 'object' names about to be received as chunks. ReUUID is the associated GeometryReqMsg UUID. |
0x0410 | Geometry Chunk | GenericMultiByteMsg | Raw .g information. Chunks can be written to a file to produce a viable V5 .g db. ReUUID is the associated GeometryReqMsg UUID. |