[omniORB-dev] Chunk size

Maslowski, Chuck MASLOWSC at cboe.com
Wed Apr 2 13:44:32 BST 2008


Thank you for the quick response. I sent it to omni-dev since I thought it would be categorized as an "enhancement request"

If I really want to get this accomplished with configuration options, and choose to pay for the work, could I contact Apasphere?

-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org]
Sent: Wednesday, April 02, 2008 12:38 PM
To: Maslowski, Chuck
Cc: omniorb-dev at omniorb-support.com
Subject: Re: [omniORB-dev] Chunk size 


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