[omniORB] About Byte stream

Duncan Grisby duncan at grisby.org
Wed Aug 8 19:10:35 BST 2007


On Saturday 4 August, janarbek wrote:

[...]
>   So, I need to change my interface like below. 
>    
>   interface WavePlayer{
>    
>   ByteStream playfile();
>   }
>    
>   But, omniORB Does not support Byte Stream??????????? How can I do
>   it?????????????????

Why would omniORB support a type name of ByteStream that you haven't
defined?

In CORBA terminology, a byte stream is a "sequence of octets". You can
declare your ByteStream type like this, before you define the interface:

  typedef sequence<octet> ByteStream;

Then your IDL will compile.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list