divyang4481 / rcf-cpp

Automatically exported from code.google.com/p/rcf-cpp
0 stars 0 forks source link

Do RCF support to establish bidirectional connections? #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
   An RCF connection normally allows requests to flow in only one 
direction. If an application’s design requires the server to make 
callbacks to a client, the server normally establishes a new connection to 
that client in order to send callback requests or use publish/subscribe 
servers;

  If i establish bidirectional connections, Requests may flow in both 
directions over a bidirectional connection, enabling server to send 
callback requests to a client over the client’s existing connection to 
the server.

   Do the RCF 1.1  support it?

Original issue reported on code.google.com by Love...@gmail.com on 4 Apr 2009 at 2:55

GoogleCodeExporter commented 9 years ago
Yes, this is already in the 1.1 codebase ... There will be two functions, 
RCF::convertRcfSessionToRcfClient() and RCF::convertRcfClientToRcfSession(), 
that 
will allow you to take a server-side connection, make an RcfClient out of it, 
and 
then make calls back to the client.

Original comment by jarl.lin...@gmail.com on 7 Apr 2009 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by jarl.lin...@gmail.com on 28 May 2009 at 1:48