Data Types

The following table presents the mapping between EMS and SmartSockets datatypes. The mapping is bidirectional, except for a few SmartSockets types that have no corresponding EMS type. For these SmartSockets datatypes that have no corresponding type, the mapping is marked as unidirectional.

EMS Map SmartSockets
Boolean   T_MSG_FT_BOOL
Byte   T_MSG_FT_BYTE
Character —> T_MSG_FT_INT2
Character <— T_MSG_FT_CHAR
Short   T_MSG_FT_INT2
Integer   T_MSG_FT_INT4
Long   T_MSG_FT_INT8
Float   T_MSG_FT_REAL4
Double   T_MSG_FT_REAL8
Double <— T_MSG_FT_TIMESTAMP
String   T_MSG_FT_STR
String <— T_MSG_FT_XML
String <— T_MSG_FT_UTF8
Byte Array   T_MSG_FT_BINARY
Short Array <— T_MSG_FT_BOOL_ARRAY
Short Array   T_MSG_FT_INT2_ARRAY
Integer Array   T_MSG_FT_INT4_ARRAY
Long Array   T_MSG_FT_INT8_ARRAY
Float Array   T_MSG_FT_REAL4_ARRAY
Double Array   T_MSG_FT_REAL8_ARRAY
Double Array <— T_MSG_FT_TIMESTAMP_ARRAY
Stream Message   T_MSG_FT_MSG

(See Import.)

Map Message