Terribly sorry for my late reply. The codeplex site stopped sending me notifications for the new threads, what a shame...
Yes, once the client subscribed to the server's event, the server is able to trigger the event at any time.
There are two options to achieve this.
Does that mean that the only server-to-client communication can happen through events?
Yes, once the client subscribed to the server's event, the server is able to trigger the event at any time.
Or can the server call a method (on the interface) as well?
There are two options to achieve this.
- First option: pass a client's delegate to the server. The server stores the delegate locally and then calls it as needed
-
Second option: start ZyanComponentHost on the client side and have server connect back to the client.