 |
|
| Computers Forum Index » Computer - Object (Corba) » CDR and fragment headers... |
|
Page 1 of 1 |
|
| Author |
Message |
| ErnieD... |
Posted: Thu Sep 24, 2009 6:31 am |
|
|
|
Guest
|
Hi,
I have a question that I can't really answer myself, since its not
explicitly mensioned in de corba specs (or I could not find it, in
which case a pointer to the right paragraph would be ok).
Large GIOP messages can get fragmented, using the fragment header type
defined in the specs. Now the message itself is hereby devided over
several packets. I noticed in an existing implementation that the
server side sends a message in which the last data type in the first
packet is a string with length 23 and end after 17 character octets.
In the second packet the last 6 octets are right after the fragment
header. The next datatype is a long, which means data alignment has to
be considered.
Now my question is how should it be aligned correctly?
CDR rules mention that alignment is done including header, whoever
nowhere is stated this should include fragment headers. Or should
alignment start over from the beginning of the second packet, since it
is a new one. Or should the fragment header just be discarded and the
whole treated as a single message, including the original header?
The point beeing that the server does its alignment on a packet base,
and my client side does it on message base (discard fragment header
from alignment), which obviously results in a failure to unmarshall
the incomming data at the client side.
Any help/pointer is welcome.
many regards |
|
|
| Back to top |
|
|
|
|
|
All times are GMT
The time now is Tue Dec 08, 2009 6:37 am
|
|