BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is it possible to use classes on interface declaration (IDL

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder CORBA/RMI
View previous topic :: View next topic  
Author Message
Alessandro Fragnani de Mo
Guest





PostPosted: Tue Jan 20, 2004 1:58 pm    Post subject: Is it possible to use classes on interface declaration (IDL Reply with quote



Hi,

I´m trying to create a IDL like this:

module ModulePeople {

interface People{
string getName();
void setName(in string name);
};


// PeopleManager
interface AlunoManager {
boolean connect();
boolean disconnect();
boolean addPeople(in People people);
boolean deletePeople(in string name);

///// this is the problem
Vector giveAllPeoples();
/////
};
};

Is it possible to use this kind of constructions (objects) on IDL
definitions? Or do I only have the "basic types" (string, integer, etc)?

Thanks in advance

Alessandro
--
Alessandro Fragnani de Morais
Analista de Sistemas
Softplan/Poligraph
Sistema da Qualidade Certificado ISO9001-BVQI/INMETRO
Fone/Fax: 0xx(4Cool 3027-8000
http://www.softplan.com.br


Back to top
Tor Iver Wilhelmsen
Guest





PostPosted: Wed Jan 21, 2004 8:04 am    Post subject: Re: Is it possible to use classes on interface declaration ( Reply with quote



"Alessandro Fragnani de Morais" <fragnani (AT) softplan (DOT) com.br> writes:

Quote:
Is it possible to use this kind of constructions (objects) on IDL
definitions? Or do I only have the "basic types" (string, integer, etc)?

IDL separates code (interfaces) and data (structs); mostly because it
evolved from non-OO environments like C.

So you need to use IDL keywords like "struct", "typedef" and
"sequence" to create complex data types.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder CORBA/RMI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.