Best design : wcf ?

G

Geoffrey

Hello,

I have a soft that run in service mode.
The service create 7 objects on start.
These 7 objects are the sames, except that, on creation, I pass a parameter
to specify a port to connect.
These object can connect to a serial port and receive datas. (it's more
complicated but enough to explian here).

Now, I want to have a remote monitoring, via tcp, I want to connect to
theses objects and display what he receive and send a command.

What I think is to open 7 listening tcp ports.
I'm looking for WCF, but ...
When I call my wcf object, how can I link to the previously created objects
?
How to handle static datas with my 7 "same" objects,
....

Thx
 
A

Alvin Bruney [ASP.NET MVP]

said objects should expose a method - whoAmI(), GetMyData(), SetMyData() so
that other objects can interact with said objects. That should have been
considered in your design decision long before you wrote any code btw.

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top