Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
QuestionSMS Server Pin
mostafa_h24-Jun-06 10:36
mostafa_h24-Jun-06 10:36 
QuestionHow do you implement a message queuing system? Pin
Steve Messer24-Jun-06 10:25
Steve Messer24-Jun-06 10:25 
AnswerRe: How do you implement a message queuing system? Pin
Ed.Poore24-Jun-06 12:56
Ed.Poore24-Jun-06 12:56 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer24-Jun-06 15:00
Steve Messer24-Jun-06 15:00 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford24-Jun-06 19:55
Leslie Sanford24-Jun-06 19:55 
GeneralRe: How do you implement a message queuing system? [modified] Pin
Steve Messer24-Jun-06 20:15
Steve Messer24-Jun-06 20:15 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford24-Jun-06 21:11
Leslie Sanford24-Jun-06 21:11 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 3:47
Steve Messer25-Jun-06 3:47 
I will have a look at your link.

The system object has a plugin manager which loads the plugins and will be used to dispatch all messages. I am not sure what you mean by

Leslie Sanford wrote:
If the system object is running in its own thread, it will need to marshal its events to the plugins' thread.


The system object will be running in the main application thread, which will load all the plugins.
Also, I am a C++ coder semi-recently moved to C# so marshalling is still confusing to me.

I will now try to get a better explaination of what I am trying to accomplish.

To get the over-all picture you can see this site www.xmission.com/~smesser. The project shown is using C++ and GDI+, currently my site is out of date as now I am using C# and WinFX.

Basically, I am trying to make a complete framework which has controls and a base functionality so that via XML and plugins you can describe and add any functionality you need. I am targeting Home Theater PC.

So, when a plugin loads it can have the following:

1) panels will cantain controls. ( buttons, graphics, list boxes etc )
All drawn using WinFx. All messages and events will be sent to the system object
for dispersal thoughtout the application.

2) Messages are needed to allow control of the plugins. Let's say there is a music plugin that
has the functionality of Play, Stop, Pause, load playlist etc. Some one else could write a
plugin to control this music plugin or replace it. So, this control plugin could create a
panel with controls on it, get a music list from the database ( another plugin ) display
ID3Tag info about each file, show an album cover etc, then send a playlist message to the
music plugin followed by a play-all message. A plugin could publish any of this infomation
so that other plugins could subscribe to the music module data feed and use it.

3) The system object needs to handle all the message passing as most of the application
functionality will be added via plugins. Even the application core functionality will be
added using functionality. By core fucntionality I mean:

a. Database access
b. create controls, panels, etc.
c. Other fundamental operaations like load panel, display panel etc.

4) I guess messages need to be sent as they happen
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 5:35
Leslie Sanford25-Jun-06 5:35 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 5:54
Steve Messer25-Jun-06 5:54 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 6:27
Leslie Sanford25-Jun-06 6:27 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 7:46
Steve Messer25-Jun-06 7:46 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 8:24
Leslie Sanford25-Jun-06 8:24 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 8:56
Steve Messer25-Jun-06 8:56 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 9:16
Leslie Sanford25-Jun-06 9:16 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 12:35
Steve Messer25-Jun-06 12:35 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 13:20
Leslie Sanford25-Jun-06 13:20 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 13:37
Steve Messer25-Jun-06 13:37 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 13:48
Leslie Sanford25-Jun-06 13:48 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 14:20
Steve Messer25-Jun-06 14:20 
GeneralRe: How do you implement a message queuing system? Pin
Leslie Sanford25-Jun-06 15:17
Leslie Sanford25-Jun-06 15:17 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer25-Jun-06 18:08
Steve Messer25-Jun-06 18:08 
GeneralRe: How do you implement a message queuing system? [modified] Pin
Leslie Sanford26-Jun-06 5:18
Leslie Sanford26-Jun-06 5:18 
GeneralRe: How do you implement a message queuing system? Pin
Steve Messer26-Jun-06 7:22
Steve Messer26-Jun-06 7:22 
GeneralRe: How do you implement a message queuing system? [modified] Pin
Steve Messer4-Jul-06 8:44
Steve Messer4-Jul-06 8:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.