[Mono-list] services and daemons

Ivan Hawkes blackhawk@ivanhawkes.com
Tue, 05 Aug 2003 12:21:01 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Moore, Paul wrote:
| does mono allow nt services and unix daemons to be written? In a
portable fashion?
|
|
| Paul Moore
| Computer Associates
| Principal Software Engineer - BrightStor
| tel: + 1 425 825 2679
| fax: + 1 425 825 2761
| paul.moore06@ca.com
|
|
|

This would be pretty interesting (to me at least) since I tend to write
a fair few NT services and the idea of getting them running on Linux
instead, unchanged, would be very tasty. I'm always looking for ways to
introduce clients to Linux :-)

It can't be too hard to abstract the interface, since an NT service at
it's basic level will simply implement the template code from the ATL
(if you're the sort who cares about their code) and hopefully they will
spin a seperate control/worker thread from there. This is the same model
I have followed when writing services using C# instead of C++ except C#
hides all that nasty template code and wraps it up in a very nice clean
interface.

Since the main controls to be implemented are:

* start
* stop
* pause (who even uses this)

with perhaps some custom controls for the fancy services these maps
fairly well onto stuff that Linux already supports.

Hmmm, might have to look into this a little later...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBPy+THfr1e7bH1pzBAQLOOA//TgvIbVWWxMUUu4MmARH54wtZvbP3OMex
/+WzvVNtyJzYAQSdjH7Q6rPuseYEnOzmRkmf9hmW+s9xq38riet1S5YGgBNAzJMG
dtramedJB3Gn5XdgMZqtuBzUjJ0ZxkgH8X483bl/ycoq51ex+8YJXLZT9kfQLmHs
kz68K8SjEcqx23Snspjm9KfiXXrUA8/7hmeYj6LbYKqKhalf6N8eFT/U4eFlAnWl
R0BD38HKbKTzBMwsLmA44GwIYpkTxvGdvl512Zk2eDwn9RboTRiIQWNo5Jrph5tV
ErnimybVKVfr4g1R1UELaMi2E+vCHNyAAxyXdc04RVTWtuBTs6zIT8c+slBtrtps
qANAtGBKcRXreqLXbpeaZ82BwZB0v+HpqSxVAhUlsJhoAdUJY0yVPCPyRNGdVPAm
ROM4F4fVXlQf0HY8Eohobk0t+5fmejhdwTicDdZzmJQas0WxvTlkHZT6HySLFkUw
lRLE/uG02zomfPmKfabHYhQZWeKucq1HHfUVix2QBzJZhuYDpb/RaXY5Rd+1yExv
qACtstbIuMLkzHmWNZRHVDZ6t9b/332ER6Z080uGN6ILY+qiIdkaA2DQ5CIlQjSS
lqtcg7j5rc0Q7Fb1pDovOWDC+zGhaaJEtIPD1xfFLR01v/ZH/NlfML39/1/4IZRu
gPrumXkoYSM=
=rMPM
-----END PGP SIGNATURE-----


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________