Article View: comp.lang.java.corba
Article #5Sequence of strings ?
From: Oleg Konovalov
Date: Wed, 17 May 2000 00:00
Date: Wed, 17 May 2000 00:00
31 lines
1424 bytes
1424 bytes
Hi,
I wrote a simple IDL which includes a sequence of strings:
module myModule {
typedef sequence <string> myMsgs;
interface msgMgr {
exception Reject { string reason; } ;
myMsgs getMsgs (
in string userId )
raises (Reject);
};
When I compile it via OrbixWeb compiler,
it generates myMsgsHolder and myMsgsHelper,
but not a myMsg class itself.
Why ?
Can't I use primitive types in sequences ?
Thank you in advance,
Oleg.
P.S.: Iona's documentation uses sequences of string and never mentions
any potential problems (or at least I haven't seen that).
Technical Details
Message-ID:
<3922C8CE.3A24EE4F@telcordia.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108bbb,d54d693ff940e1a9,start X-Google-Attributes: gid108bbb,public X-Google-Thread: fed8b,d54d693ff940e1a9,start X-Google-Attributes: gidfed8b,public X-Google-Thread: f753e,d54d693ff940e1a9,start X-Google-Attributes: gidf753e,public X-Google-Thread: 10b07f,d54d693ff940e1a9,start X-Google-Attributes: gid10b07f,public From: Oleg Konovalov <okonoval@telcordia.com> Subject: Sequence of strings ? Date: 2000/05/17 Message-ID: <3922C8CE.3A24EE4F@telcordia.com> X-Deja-AN: 624593209 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 17 May 2000 12:29:02 -0500, 128.96.172.43 MIME-Version: 1.0 Newsgroups: comp.lang.java.corba,comp.object.corba,borland.public.jbuilder.corba-rmi,comp.lang.idl