473,770 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Publish/Subscribe (Outof Process)

Hello Folks
I am working on a applications which needs a publish/subscribe model to
handle events. There can be various components involved and some maybe out of
process.

Ideally I would like to have Windows Service where these different
components can publish there status to and a GUI app that can subscribe to
these statuses and be notified.

What is the best way to go about implementing this ?
Any suggestions ??

Thanks in advance..
Jul 21 '05 #1
4 1775
Hi Veriblue,

You need to use events. You can have public interfaces for the publisher in
which you define an event. The subscribers can hook into this event and then
handle it. A generic event-model might be a good choice for the type of
events. Is this what you are trying to accomplish?

HTH,
- Rakesh Rajan

"Veriblue" <Ve******@discu ssions.microsof t.com> wrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hello Folks
I am working on a applications which needs a publish/subscribe model to
handle events. There can be various components involved and some maybe out of process.

Ideally I would like to have Windows Service where these different
components can publish there status to and a GUI app that can subscribe to
these statuses and be notified.

What is the best way to go about implementing this ?
Any suggestions ??

Thanks in advance..

Jul 21 '05 #2
Seeing as how some of the components may be out-of-proccess, one mechanism
you may want to consider is Message Queueing (MSMQ).
"Rakesh Rajan" <ra************ **********@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi Veriblue,

You need to use events. You can have public interfaces for the publisher in which you define an event. The subscribers can hook into this event and then handle it. A generic event-model might be a good choice for the type of
events. Is this what you are trying to accomplish?

HTH,
- Rakesh Rajan

"Veriblue" <Ve******@discu ssions.microsof t.com> wrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hello Folks
I am working on a applications which needs a publish/subscribe model to
handle events. There can be various components involved and some maybe out
of
process.

Ideally I would like to have Windows Service where these different
components can publish there status to and a GUI app that can subscribe

to these statuses and be notified.

What is the best way to go about implementing this ?
Any suggestions ??

Thanks in advance..


Jul 21 '05 #3
Thanks, how about COM+ Events, I read somewhere that it can do loosley
coupled event ..is it something that can be used in this scenario ? and could
you please post any good links you have for MSMQ

"Stephany Young" wrote:
Seeing as how some of the components may be out-of-proccess, one mechanism
you may want to consider is Message Queueing (MSMQ).
"Rakesh Rajan" <ra************ **********@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi Veriblue,

You need to use events. You can have public interfaces for the publisher

in
which you define an event. The subscribers can hook into this event and

then
handle it. A generic event-model might be a good choice for the type of
events. Is this what you are trying to accomplish?

HTH,
- Rakesh Rajan

"Veriblue" <Ve******@discu ssions.microsof t.com> wrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hello Folks
I am working on a applications which needs a publish/subscribe model to
handle events. There can be various components involved and some maybe out
of
process.

Ideally I would like to have Windows Service where these different
components can publish there status to and a GUI app that can subscribe

to these statuses and be notified.

What is the best way to go about implementing this ?
Any suggestions ??

Thanks in advance..



Jul 21 '05 #4
The Visual Studio (MSDN) help files contain all the information you need to
get started with MSMQ.
"Veriblue" <Ve******@discu ssions.microsof t.com> wrote in message
news:16******** *************** ***********@mic rosoft.com...
Thanks, how about COM+ Events, I read somewhere that it can do loosley
coupled event ..is it something that can be used in this scenario ? and could you please post any good links you have for MSMQ

"Stephany Young" wrote:
Seeing as how some of the components may be out-of-proccess, one mechanism you may want to consider is Message Queueing (MSMQ).
"Rakesh Rajan" <ra************ **********@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi Veriblue,

You need to use events. You can have public interfaces for the publisher
in
which you define an event. The subscribers can hook into this event
and then
handle it. A generic event-model might be a good choice for the type
of events. Is this what you are trying to accomplish?

HTH,
- Rakesh Rajan

"Veriblue" <Ve******@discu ssions.microsof t.com> wrote in message
news:8B******** *************** ***********@mic rosoft.com...
> Hello Folks
> I am working on a applications which needs a publish/subscribe model to > handle events. There can be various components involved and some

maybe out
of
> process.
>
> Ideally I would like to have Windows Service where these different
> components can publish there status to and a GUI app that can
subscribe to
> these statuses and be notified.
>
> What is the best way to go about implementing this ?
> Any suggestions ??
>
> Thanks in advance..


Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
3512
by: Adrian B. | last post by:
Does anyone know of a framework or library that will enable me to use publish/subscribe comms? I want to create a server (using Python) running on a Unix box that will accept client connections (from GUIs built with wxPython) and publish realtime data updates to them. Any advice on where to start? Thanks. A.B.
0
1109
by: Russ | last post by:
Can anyone tell me if .NET directly supports the publish/subscribe messaging paradigm? If not directly, does anyone know of any .NET add-ons which offer this type of functionality? Thanks in advance, Russ
0
1489
by: Russ | last post by:
Can anyone tell me if .NET directly supports the publish/subscribe messaging paradigm? If not directly, is there an add-on that is available that offers this type of functionality? Thanks in advance, Russ
1
1438
by: SKumar | last post by:
Hello: I am trying to implement a publish/subscribe model for an applications I am working on. I would very greatful if anybody could offer me some suggestions. The application basically is a connectivity applications like dial, VPN and wireless. Ideally I would like to have a service where all these connectivity componenets can send/publish their statuses to...and I would like to
4
286
by: Veriblue | last post by:
Hello Folks I am working on a applications which needs a publish/subscribe model to handle events. There can be various components involved and some maybe out of process. Ideally I would like to have Windows Service where these different components can publish there status to and a GUI app that can subscribe to these statuses and be notified. What is the best way to go about implementing this ?
0
2075
by: Kamilche | last post by:
''' event.py An event manager using publish/subscribe, and weakrefs. Any function can publish any event without registering it first, and any object can register interest in any event, even if it doesn't exist yet. The event manager uses weakrefs, so lists of listeners won't stop them
2
2355
by: gregory_may | last post by:
I am looking for a publish/subscribe mechanism for .Net/Atlas. Does this exist? I need to make web service callbacks to clients when specific events happen. It almost sounds like RSS, but I am not sure if there is a better fit?
9
2932
by: Jason | last post by:
Hi all, I am no longer able to publish a web site project using Visual Studio 2005 Professional. I am publishing it to an FTP url, and this used to work just fine. I enter the username and password and select "passive mode" when publishing the site, like I have always done. Visual Studio deletes the existing files, but then doesn't write the new ones, though it tells me the operation was
3
4365
by: Ludwig Wittgenstein | last post by:
Hello, all. Does anyone know of documentation about implementing a publish- subscribe model between a .NET Web service provide and a Java service consumer? I have this problem I am trying to solve, and would greatly appreciate it if someone can tell me what the best solution would be for it. I have a .NET 2.0 (ASMX) webservice on a server on a dedicated hosting server, and several clients in different cities running linux servers
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.