I would like this:
My C# application will connect many ice objects together and invoke some methods of these objects. The problem is, that it will not know before, how objects will exactly look like.These objects will make other programmers. I would like to make it for them simplest it can be.
If I would like to make it for them easy, I think slice for those objects can be something like:
My application dont know this slice definition at compilation, only MyBasicObject I will know. And now it have to know that there exist object Aaa which needs one interface Bbb, which I can set by setInterfaceSimpleBbb. So if I understand I can over IcePack::Query get all object of type MyBasicObject. But after that, how can I read all object information and how can a know that setInterfaceSimpleBbb has one parametr of type *Bbb?Code:module something { interface Aaa extends MyBasicObject { //methods for connecting to other object (every this method will start with setInterface) void setInterfaceSimpleBbb(*Bbb bbbName); //methods for invoking (every this method will start with invoke) void invokeShow(); } interface Bbb extends MyBasicObject { //something } }
Thank you

Reply With Quote