Rock's Architecture : think , think a future
Advice
IDL | C++ | JAVA | ||||||
Type | Size | Range | Type | Type | Range | Wrappers | ||
boolean | bool | boolean | Boolean | |||||
octet | 8 bit byte | 0 through (28)-1 | unsigned char | byte | 0 through (28)-1 | Byte | ||
char | 8 bit character (ISO latin-1) | -27 through (27)-1 | char | char | Character | |||
wchar | international character format | wchar_t | char | Character | ||||
short | 16 bit signed integer | -215 through (215)-1 | short | short | -215 through (215)-1 | Short | ||
unsigned short | 16 bit unsigned integer | 0 through (216)-1 | unsigned short | short | Short | |||
long | 32 bit signed integer | -231 through (231)-1 | long | int | -231 through (231)-1 | Integer | ||
unsigned long | 32 bit unsigned integer | 0 through (232)-1 | unsigned long | int | Integer | |||
long long | 64 bit signed integer | -263 through (263)-1 | long long, _int64 | long | -263 through (263)-1 | Long | ||
unsigned long long | 64 bit unsigned integer | 0 through (264)-1 | unsigned long long unsigned _int64 | long | Long | |||
float | 32 bit IEEE float | -3.4*10-38 � 3.4*1038 | float | float | -1.4*10-45 � 3.4*1038 | Float | ||
double | 64 bit IEEE float | -1.7*10-308 � 1.7*10308 | double | double | -4.9*10-324 � 1.7*10308 | Double | ||
long double | 64, 96 or 128 bit float | long double | double | !!!!!! no equivalent type | Double | |||
string | character string based on char | char[] | String | |||||
wstring | character string based on wchar | wchar_t[] | String | |||||
fixed | BigDecimal |
Use long double only on C++ Server/client with the same types implementation (be careful of systems OS)
Do not use unsigned types with a
C++ Server/JAVA Client
Key only attributes and methods
which are used by the Server and Client, the entire real objects can
have internal attributes/methods only used by the Server.
Use mutexes for real time
applications, or for multi Clients applications sharing Server
You can use JAVA Client
You can use WxWidgets for C++ Client
Standard default ports are 1048
(java orbd) and 2809
Some softwares use them, try
others if Naming Service does not start (1053)