[omniORB-dev] Chunk size

Duncan Grisby duncan at grisby.org
Wed Apr 2 19:38:28 BST 2008


On Tuesday 1 April, "Maslowski, Chuck" wrote:

> I apologize if this has been asked & answered already. I browsed the
> development archives & didn't see anything relevant.

This is really a question for the main omniORB list, not for
omniorb-dev.

> We have run into some interoperability issues & I would like to know how to:
> 1) shut off GIOP fragmentation dynamically through a configuration
>  option, or,

You can only shut off GIOP fragmentation by choosing to use GIOP 1.0, by
setting the maxGIOPVersion parameter to "1.0".

> 2) increase the "chunk" size dynamically through a configuration option

There's no proper configuration option, but you can modify the static
variable omniORB uses to choose its buffer size, which corresponds to
the usual fragment size (sometimes larger fragments are sent). You need
to #include <omniORB4/internal/giopStream.h> and then modify the value
of omni::giopStream::bufferSize. The default value is 8192.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-dev mailing list