Difference between revisions of "NetMsgTypes"

From BRL-CAD
Line 1: Line 1:
 
{{DesignDocument}}
 
{{DesignDocument}}
  
 +
 
 +
==Common Header Byte Format==
 +
 +
 +
{|border="1"
 +
|width="75"|'''Element'''
 +
|'''Length'''
 +
|-
 +
|MessageLength
 +
|int (4 bytes)
 +
|-
 +
|MessageUUID
 +
|UUID (16 bytes)
 +
|-
 +
|Opcode
 +
|int (4 bytes)
 +
|}
 +
 +
----
 +
 
{|
 
{|
 
!width="55" align="center"|OPCODE
 
!width="55" align="center"|OPCODE

Revision as of 15:47, 3 December 2008

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

Element Length
MessageLength int (4 bytes)
MessageUUID UUID (16 bytes)
Opcode int (4 bytes)

OPCODE Description
0 RemHostNameSET
5 RemHostNameSETFAIL
10 RemHostNameSETOK
15 NewHostOnNetINFO
20 FullHostListREQ
25 FullHostListREQFAIL
30 FullHostListREQOK
40 NewSessionREQ
45 NewSessionREQFAIL
50 NewSessionREQOK


OPCODE Description
100 GeometryREQ
105 GeometryREQFAIL
110 GeometryMANIFEST
115 GeometryCHUNK