how to implement Win32 VARIANT like mechanism?

in Help Center
Hi,
In my application, data array should be transfered between client and server, the data is filled in a structure including value, timestamp, quality, etc.
I think 'sequence' could be the right choice, but the data value type of each element in the array is not fixed.
Before switching to ICE, we developed apps based on Win32 DCOM, the VARIANT data type (in fact a union) meet this requirement.
I'm a newbie to ICE, anyone can give me some suggestion or hint about this case? Thanks a lot.
Regards,
Kevin
In my application, data array should be transfered between client and server, the data is filled in a structure including value, timestamp, quality, etc.
I think 'sequence' could be the right choice, but the data value type of each element in the array is not fixed.
Before switching to ICE, we developed apps based on Win32 DCOM, the VARIANT data type (in fact a union) meet this requirement.
I'm a newbie to ICE, anyone can give me some suggestion or hint about this case? Thanks a lot.
Regards,
Kevin
0
Comments
Let us know if this does not solve your problem (but we will need a concrete example in that case).
Cheers,
Michi.
cheers,
Kevin
additionally, to test the performance, I put thousands of elements in a sequence for one function call, it tooks no more than 50ms over LAN(TCP, VS2005, Windows Server 2003). Compare to passing structure, the performance difference seems trivial, is it truth?
Cheers,
Kevin
Cheers,
Michi.