LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> Publish/Subscribe

Screenshot
File Information
File Name Publish/Subscribe by Eugen Graf
Submitted Nov 8 2007, 05:05 PM
Last Updated Nov 9 2007, 04:15 PM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 499.03K (Estimated Download Times)
Views 1775
Downloads 288
Add Rating
This is my realisation of topic based Publish/Subscribe Software Design Pattern.

http://en.wikipedia.org/wiki/Publish/subscribe
http://en.wikipedia.org/wiki/Observer_pattern

The dispatcher is the main task of this pattern, which administrates a topic table. If any (Queue- Notifier- User Event- and TCP/IP based) client starts, it should register himself by the dispatcher, so the dispatcher adds them into the topic table. The next step the client should do - is to subscribe to topics. If the dispatcher receives a message from any client, it looks which clients want to receive this message and send it only to this clients. So you can rediuce some data traffic in your programm. If a client is no more interested in a topic, it can unsubscribe from this topic. If a client want to be removed from the table, it should unregister.

So you can dynamically start/stop clients and realize a software, which is plugin able.

Supporting TCP/IP protocoll gives you a chance to communicate between programm modules, different applications, and different computers over network. Therefore you can connect two or more dispatchers and select topics, which you want to send or receive. This feature gives you a big advantage - remote debugging.
Other Information
Support Topic Click here to visit support topic
File Version 1.0.1
LabVIEW Version 8.0.x
License Creative Commons Attribution 2.5 License
Operations
Approved by mballa on Dec 7 2007, 05:28 AM
Download File

> Saved Versions

Name Filename Updated Operations
Publish/Subscribe Pubsub_v1_0_1.zip 9th November 2007 - 04:14 PM
Publish/Subscribe Pubsub_v1_0_0.zip 8th November 2007 - 05:05 PM

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
1 user(s) active in the past 15 minutes
Active Users 1 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats We have a total of 69 files in 13 categories
A total of 37 unique authors have submitted to our site
There have been 23974 logged downloads to date
The latest file submitted was LVClass API by normandinf (submitted Yesterday, 01:08 PM)


Time is now: 15th October 2008 - 08:25 PM