[Mono-devel-list] New 'published' keyword
Urs Muff
umuff at QUARK.com
Mon Apr 19 12:29:51 EDT 2004
Also look @ the SOA approach of Indigo: publishing does not mean making
public. Don Box has a whole presentation about that, but the bottom line is
that you probably don't what to call a published method in the same process,
since it does some additional checking to ensure secure calling, where as a
public method, does not.
Indigo uses [Service] attributes...
- Urs
-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Miguel de Icaza
Sent: Sunday, April 18, 2004 9:17 PM
To: adam at negligible.co.uk
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-devel-list] New 'published' keyword
Hello,
> Couldn't a new keyword [ eg. 'published' ] be added to imply that a
> class / method / property / delegate is accessable to other processes.
> Published would imply public. For instance:
You can use an attribute; This is what Web Services do:
class X : WebService {
[WebMethod]
public void SayHi () {...}
}
>
> published class A {
> published void run() { }
> published int A {
> get {}
> set {}
> }
> published delegate void MyDelegate(string input);
> published MyDelegate myDelegate;
> }
>
> This idea could be extended if generic libraries declare published
> methods, for instance a GTK# window's destroy() signal could be marked
> published.
>
> One may be able to implement this idea using CORBA?
>
> Anyway just an idea,
>
> Adam
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
--
Miguel de Icaza <miguel at ximian.com>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list