the new programs which know the new S idl definition can query new
interfaces, while old programs still query old interfaces they known.

On Fri, Jul 11, 2008 at 6:33 PM, Rainman Lee <[EMAIL PROTECTED]> wrote:
> Oh, I see......:@(
> I think it is a problem coming with the new-style interfaces, right?
> if I wrote the service S using the old-style interface statement like this:
> service S
> {
>    interface A;
>    interface B;
> }
> then, the only thing I would have to do to introduce a new interface D could 
> be:
> service S
> {
>    interface A;
>    interface B;
>    interface D; //simply add this statement and implement somewhere.
> }
>
> Is that right?
> So I just wonder whether we should give up the old-style service at
> all, or use it for the service extensibility like the following code:
> ...
> interface C
> {
>  interface A;
>  interface B;
> };
>
> service S
> {
>   interface C;
>   // we can add futher interfaces here!
> }
>
> Best Wishes, Rainman.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to