diwakari / csharptest-net

Automatically exported from code.google.com/p/csharptest-net
0 stars 0 forks source link

Add callback implementation sample like WCF callbacks #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add callback implementation sample like WCF callbacks
Value:
WCF users can migrate to RPC easier

Original issue reported on code.google.com by asd.and....@gmail.com on 19 Feb 2013 at 1:20

GoogleCodeExporter commented 8 years ago
http://support.microsoft.com/kb/96781

Original comment by asd.and....@gmail.com on 24 Feb 2013 at 11:09

GoogleCodeExporter commented 8 years ago
My current scenario is WCF named pipes, I can implement callbacks by polling or 
by creating 2 pipes. Polling is somewhat hard/slow to implement synchronous 
(IsOneWay = false) or async with result and timeout (Begin/End/AsyncResult 
callbacks) scenarios of WCF. 2 pipes seems to be to much for underlying pipe 
mechanism which allows duplex via one pipe. 
Thanks

Original comment by asd.and....@gmail.com on 24 Feb 2013 at 11:15

GoogleCodeExporter commented 8 years ago
WCF Sockets and Pipes use a bi-directional transport layer.  RPC is a purely 
client/server call structure and there is not a means to 'call' back to the 
client.

Original comment by Grig...@gmail.com on 26 Jan 2014 at 6:50

GoogleCodeExporter commented 8 years ago
There are callbacks, but they are limited in call callbacks. 
http://msdn.microsoft.com/en-us/library/aa366746%28v=VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/cc243711.aspx

Original comment by Dzmitry....@gmail.com on 18 May 2014 at 7:11