[omniORB] Passing dictionary.

bjorn rohde jensen shamus@tdcadsl.dk
Wed Jun 19 09:42:01 2002


Hi Vaibhav,

 I presume, the dictionary is in textual representation, so
you should transfer the data using the string idl type to
ensure proper character set translation during transfer,
although you might want to use an iterator pattern for the
transfer. One way to do it could be to have some sort of
factory doing a look-up for the requested file and return
a reference to a pull iterator or raise a NotFound exception.
You could then use the iterator to pull dictionary from the
server bit by bit. It does of course take longer time to make
several calls than to make one.

Yours sincerely,

Bjorn