This project has moved and is read-only. For the latest updates, please go here.

DataSubscriber and DataPublisher

Nov 10, 2011 at 1:59 PM
Edited Nov 10, 2011 at 2:15 PM

Hello!

What is the difference between DataSubscriber and DataPublisher? and how they relate?

I have already read the document  "openPDC Data Access Options" (http://openpdc.codeplex.com/wikipage?title=Data%20Access%20Options). And I have reviewed the DataSubscriberTest and DataPublisherTest also. There is more information (documentation) about it?

Thanks

Itan

Nov 21, 2011 at 8:36 PM
Edited Nov 21, 2011 at 8:39 PM

You can think of the DataSubscriber as a client "API" you can use to get real-time (or historical streaming) data from the openPDC. It is also an InputAdapter that can be fixed to get data from other openPDC's.

The DataPublisher is a server component, an ActionAdapter, used to open a socket to listen to multiple DataSubscribers that are requesting data.

Hope that clarifies that a little.

Thanks!
Ritchie