Hi, Please be gentle, I'm new to WCF..
I have a class that I create as an EndPoint for a Callback Interface. I create the object (called svh below) and it does what it needs to do. I have a method within that class called Subscribe and all clients register with this and I save-off the references into an ArrayList.
However, my issue comes when I want to use the svh object to call another method on this class (topically, NotifySubscribers). How do I get to the serviceendpoint started class form outside ???
Thanks
Chubby:
Code:
Code:
svh = new ServiceHost(typeof(EventCallbackPipe));
svh.AddServiceEndpoint(typeof(IEventCallbackPipe), new NetTcpBinding(), "net.tcp://" + ChannelServer + ":" + ChannelPort);
svh.Open();
.



Reply With Quote