Consts
The Consts module is responsible for publishing all library wide constants.
- These constants have three types:
- Type Codes
- UNDEFINED - undefined or not yet initialized fields
- BYTE - one byte long field
- UBYTE - unsigned byte field
- SHORT - 16 bits signed field
- INTEGER - 32 bits signed integer field
- LONG - 64 bits signed long field
- SHORTSTRING - a single character string with a maximum length of 255 characters
- CHAR - a single byte character
- DOUBLECHAR - a double byte character (UTF-16-BigEndian)
- LONGSTRING - a string with an integer size descriptor
- WIDESTRING - a double character string with an integer size descriptor (UTF-16)
- ARRAY - an array of fields.
- RECORD - a record of fields (Not Implemented)
- Character Type Codes - these are used to translate type codes to a single character used in many other functions, especially in MultimodalMiddlewareProtocol.FieldFactory methods.
- CHAR_BYTE - byte field
- CHAR_UBYTE - unsigned byte field
- CHAR_SHOR - short field
- CHAR_INTEGER - integer field
- CHAR_LONG - long field
- CHAR_SHORTSTRINGS - short string field
- CHAR_CHAR - char field
- CHAR_DOUBLECHAR - double char field
- CHAR_LONGSTRING - long string field
- CHAR_WIDESTRING - wide string field
- CHAR_ARRAY - array field
- CHAR_RECORD - record field
- CHAR_UNDEFINED - underfined type field
- Protocol Codes
- PROT_UDP - UDP protocol
- PROT_TCP - TCP protocol